diff options
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.c 2.12 2010/03/12 16:41:37 kls Exp $ + * $Id: config.c 2.13 2010/06/06 10:06:43 kls Exp $ */ #include "config.h" @@ -355,6 +355,7 @@ cSetup::cSetup(void) VpsMargin = 120; RecordingDirs = 1; FoldersInTimerMenu = 1; + NumberKeysForChars = 1; VideoDisplayFormat = 1; VideoFormat = 0; UpdateChannels = 5; @@ -545,6 +546,7 @@ bool cSetup::Parse(const char *Name, const char *Value) else if (!strcasecmp(Name, "VpsMargin")) VpsMargin = atoi(Value); else if (!strcasecmp(Name, "RecordingDirs")) RecordingDirs = atoi(Value); else if (!strcasecmp(Name, "FoldersInTimerMenu")) FoldersInTimerMenu = atoi(Value); + else if (!strcasecmp(Name, "NumberKeysForChars")) NumberKeysForChars = atoi(Value); else if (!strcasecmp(Name, "VideoDisplayFormat")) VideoDisplayFormat = atoi(Value); else if (!strcasecmp(Name, "VideoFormat")) VideoFormat = atoi(Value); else if (!strcasecmp(Name, "UpdateChannels")) UpdateChannels = atoi(Value); @@ -640,6 +642,7 @@ bool cSetup::Save(void) Store("VpsMargin", VpsMargin); Store("RecordingDirs", RecordingDirs); Store("FoldersInTimerMenu", FoldersInTimerMenu); + Store("NumberKeysForChars", NumberKeysForChars); Store("VideoDisplayFormat", VideoDisplayFormat); Store("VideoFormat", VideoFormat); Store("UpdateChannels", UpdateChannels); |