mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed a bug in parsing group separators in channels.conf
This commit is contained in:
parent
f4d9488718
commit
53ecd41810
@ -87,6 +87,7 @@ Benjamin Reichardt <reichard@math.uni-goettingen.de>
|
|||||||
|
|
||||||
Henning Holtschneider <hh@holtschneider.com>
|
Henning Holtschneider <hh@holtschneider.com>
|
||||||
for patching 'runvdr' to check whether the driver is already loaded
|
for patching 'runvdr' to check whether the driver is already loaded
|
||||||
|
for reporting a bug in parsing group separators in channels.conf
|
||||||
|
|
||||||
Paulo Lopes <pmml@netvita.pt>
|
Paulo Lopes <pmml@netvita.pt>
|
||||||
for translating OSD texts to the Portugese language
|
for translating OSD texts to the Portugese language
|
||||||
|
2
HISTORY
2
HISTORY
@ -1162,3 +1162,5 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed a bug when a timer records over midnight of a day that had a change in
|
- Fixed a bug when a timer records over midnight of a day that had a change in
|
||||||
Daylight Saving Time.
|
Daylight Saving Time.
|
||||||
- Added Polish language texts (thanks to Michael Rakowski).
|
- Added Polish language texts (thanks to Michael Rakowski).
|
||||||
|
- Fixed a bug in parsing group separators in channels.conf (thanks to Henning
|
||||||
|
Holtschneider for reporting this one).
|
||||||
|
3
config.c
3
config.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: config.c 1.95 2002/04/01 10:54:32 kls Exp $
|
* $Id: config.c 1.96 2002/04/01 11:54:05 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -248,6 +248,7 @@ bool cChannel::Parse(const char *s)
|
|||||||
strn0cpy(name, s, MaxChannelName);
|
strn0cpy(name, s, MaxChannelName);
|
||||||
name[strlen(name) - 1] = 0; // strip the '\n'
|
name[strlen(name) - 1] = 0; // strip the '\n'
|
||||||
groupSep = true;
|
groupSep = true;
|
||||||
|
number = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user