diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-10-21 12:32:51 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-10-21 12:32:51 +0200 |
commit | 92ae9f154ef4ef2944883cea810e56da58c94ede (patch) | |
tree | 8c6f3f2dd86c3a111640171c22a08dc5ff3f31f9 /menuitems.c | |
parent | cd6041f9ae78cac1eb910fb03460f723810c225f (diff) | |
download | vdr-92ae9f154ef4ef2944883cea810e56da58c94ede.tar.gz vdr-92ae9f154ef4ef2944883cea810e56da58c94ede.tar.bz2 |
Added more special characters to the list of allowed characters when entering strings
Diffstat (limited to 'menuitems.c')
-rw-r--r-- | menuitems.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/menuitems.c b/menuitems.c index 732aea25..e90cb077 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.53 2007/10/13 12:05:37 kls Exp $ + * $Id: menuitems.c 1.54 2007/10/21 12:21:51 kls Exp $ */ #include "menuitems.h" @@ -18,7 +18,7 @@ #define AUTO_ADVANCE_TIMEOUT 1500 // ms before auto advance when entering characters via numeric keys -const char *FileNameChars = trNOOP(" abcdefghijklmnopqrstuvwxyz0123456789-.#~,/_@"); +const char *FileNameChars = trNOOP("FileNameChars$ abcdefghijklmnopqrstuvwxyz0123456789-.,#~\\^$[]|()*+?{}/:%@&"); // --- cMenuEditItem --------------------------------------------------------- @@ -285,7 +285,7 @@ void cMenuEditStrItem::EnterEditMode(void) int l = strlen(allowed) + 1; allowedUtf8 = new uint[l]; Utf8ToArray(allowed, allowedUtf8, l); - const char *charMap = tr(" 0\t-.#~,/_@1\tabc2\tdef3\tghi4\tjkl5\tmno6\tpqrs7\ttuv8\twxyz9"); + const char *charMap = tr("CharMap$ 0\t-.,1#~\\^$[]|()*+?{}/:%@&\tabc2\tdef3\tghi4\tjkl5\tmno6\tpqrs7\ttuv8\twxyz9"); l = strlen(charMap) + 1; charMapUtf8 = new uint[l]; Utf8ToArray(charMap, charMapUtf8, l); |