1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed reading timers.conf and channels.conf that contain blanks after numeric values

This commit is contained in:
Klaus Schmidinger 2001-10-20 13:09:38 +02:00
parent eba69bf7d1
commit 4320b97298
2 changed files with 11 additions and 5 deletions

View File

@ -826,3 +826,5 @@ Video Disk Recorder Revision History
to enter the "Recordings" menu. to enter the "Recordings" menu.
- Updated 'channels.conf' for the "Bundesliga" channels of Premiere World - Updated 'channels.conf' for the "Bundesliga" channels of Premiere World
(thanks to Helmut Schächner). (thanks to Helmut Schächner).
- Fixed reading timers.conf and channels.conf that contain blanks after numeric
values.

View File

@ -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.75 2001/10/19 13:14:09 kls Exp $ * $Id: config.c 1.76 2001/10/20 13:09:38 kls Exp $
*/ */
#include "config.h" #include "config.h"
@ -14,6 +14,10 @@
#include "i18n.h" #include "i18n.h"
#include "interface.h" #include "interface.h"
// IMPORTANT NOTE: in the 'sscanf()' calls there is a blank after the '%d'
// format characters in order to allow any number of blanks after a numeric
// value!
// -- cKeys ------------------------------------------------------------------ // -- cKeys ------------------------------------------------------------------
tKey keyTable[] = { // "Up" and "Down" must be the first two keys! tKey keyTable[] = { // "Up" and "Down" must be the first two keys!