mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added a missing reset of maxNumber in cChannels::Renumber()
This commit is contained in:
parent
5323db268d
commit
22805840fb
@ -2321,3 +2321,6 @@ Tomas Berglund <tomber@telia.com>
|
||||
|
||||
Johan Schuring <johan.schuring@vetteblei.nl>
|
||||
for translating OSD texts to the Dutch language
|
||||
|
||||
Sundararaj Reel <sundararaj.reel@googlemail.com>
|
||||
for reporting a missing reset of maxNumber in cChannels::Renumber()
|
||||
|
5
HISTORY
5
HISTORY
@ -5693,3 +5693,8 @@ Video Disk Recorder Revision History
|
||||
- Changed the default character set for SI data from ISO6937 (as required by the DVB
|
||||
standard ETSI EN 300 468) to ISO-8859-9, in order to work around the stupidity of
|
||||
some providers, who actually use ISO-8859-9, but fail to correctly announce that.
|
||||
|
||||
2008-03-05: Version 1.5.18
|
||||
|
||||
- Added a missing reset of maxNumber in cChannels::Renumber() (reported by Sundararaj
|
||||
Reel).
|
||||
|
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user