diff options
| -rw-r--r-- | mg_setup.c | 2 | ||||
| -rw-r--r-- | mg_setup.h | 2 | ||||
| -rw-r--r-- | vdr_setup.c | 3 |
3 files changed, 4 insertions, 3 deletions
@@ -51,7 +51,7 @@ mgSetup::mgSetup () // stuff related to cover image display ImageCacheDir = strdup( "/tmp" ); - UseDeviceStillPicture = true; + UseDeviceStillPicture = 1; ImageShowDuration = 10; } @@ -56,7 +56,7 @@ class mgSetup int ImageShowDuration; char *ImageCacheDir; - bool UseDeviceStillPicture; + int UseDeviceStillPicture; int DeleteStaleReferences; bool CreateMode; 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)); |
