summaryrefslogtreecommitdiff
path: root/vdr_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'vdr_setup.c')
-rw-r--r--vdr_setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vdr_setup.c b/vdr_setup.c
index 5baf459..6c54773 100644
--- a/vdr_setup.c
+++ b/vdr_setup.c
@@ -23,6 +23,7 @@
#include "vdr_actions.h"
#include "i18n.h"
+static char* chars_allowed = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_./";
// --- mgMenuSetup -----------------------------------------------------------
@@ -59,7 +60,7 @@ mgMenuSetup::mgMenuSetup ()
&the_setup.ImageShowDuration, 1, 100));
Add (new
cMenuEditStrItem (tr ("Setup.Muggle$Image cache directory"),
- &the_setup.ImageCacheDir, 256, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_./" ) );
+ the_setup.ImageCacheDir, 256, chars_allowed ) );
Add (new
cMenuEditBoolItem (tr ("Setup.Muggle$Use DVB still picture"),
&the_setup.UseDeviceStillPicture));