diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2008-03-05 16:45:54 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2008-03-05 16:45:54 +0100 |
commit | 22805840fbb0aa90f1dfee9c78c3cf1de4886b47 (patch) | |
tree | 09650f6bed1f97f5268c8bcad0874d86c2326168 /channels.c | |
parent | 5323db268db95d5336dbeaf8edc955d28ccf540f (diff) | |
download | vdr-22805840fbb0aa90f1dfee9c78c3cf1de4886b47.tar.gz vdr-22805840fbb0aa90f1dfee9c78c3cf1de4886b47.tar.bz2 |
Added a missing reset of maxNumber in cChannels::Renumber()
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: channels.c 1.59 2008/02/10 15:45:38 kls Exp $ + * $Id: channels.c 1.60 2008/03/05 16:42:50 kls Exp $ */ #include "channels.h" @@ -947,9 +947,10 @@ int cChannels::GetPrevNormal(int Idx) return channel ? Idx : -1; } -void cChannels::ReNumber( void ) +void cChannels::ReNumber(void) { channelsHashSid.Clear(); + maxNumber = 0; int Number = 1; for (cChannel *channel = First(); channel; channel = Next(channel)) { if (channel->GroupSep()) { |