summaryrefslogtreecommitdiff
path: root/menuitems.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-11-03 15:06:00 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2007-11-03 15:06:00 +0100
commit46b9d18368091d2c694608bd6903e23dd4288fbe (patch)
treeffa38073561a24ff274b0d5e03bf8a7123676116 /menuitems.c
parentb54da2e0eb3469a9d5632726273ca3f6dbde7a6e (diff)
downloadvdr-46b9d18368091d2c694608bd6903e23dd4288fbe.tar.gz
vdr-46b9d18368091d2c694608bd6903e23dd4288fbe.tar.bz2
The 'Allowed' parameter in cMenuEditStrItem() is now NULL by default, which results in using tr(FileNameChars)
Diffstat (limited to 'menuitems.c')
-rw-r--r--menuitems.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menuitems.c b/menuitems.c
index e90cb077..a7ceef29 100644
--- a/menuitems.c
+++ b/menuitems.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menuitems.c 1.54 2007/10/21 12:21:51 kls Exp $
+ * $Id: menuitems.c 1.55 2007/11/03 15:01:01 kls Exp $
*/
#include "menuitems.h"
@@ -256,7 +256,7 @@ cMenuEditStrItem::cMenuEditStrItem(const char *Name, char *Value, int Length, co
{
value = Value;
length = Length;
- allowed = Allowed;
+ allowed = Allowed ? Allowed : tr(FileNameChars);
pos = -1;
offset = 0;
insert = uppercase = false;