summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-06-06 10:56:11 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2010-06-06 10:56:11 +0200
commit3aba9ec4e0a499e34c466195240b4d135bb6b590 (patch)
tree779acb95975becf6ca5e290db4901591e797b220 /config.c
parentfd426098833db48e77e1ce55ea67b7cb8ad3d5fe (diff)
downloadvdr-3aba9ec4e0a499e34c466195240b4d135bb6b590.tar.gz
vdr-3aba9ec4e0a499e34c466195240b4d135bb6b590.tar.bz2
Implemented setup option 'OSD/Number keys for characters'
Diffstat (limited to 'config.c')
-rw-r--r--config.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.c b/config.c
index aa18ebcf..73b11b18 100644
--- a/config.c
+++ b/config.c
@@ -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);