summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-02 10:28:20 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-02 10:28:20 +0200
commit0d7571054579614f9278999077921942ca08a7bf (patch)
treeea27d866c8fa82fdc2f9aecc266dcbd3d4a5dc35 /menu.c
parent4aee497101eb0546b34edfd3ccf34fe5ba140f3d (diff)
downloadvdr-0d7571054579614f9278999077921942ca08a7bf.tar.gz
vdr-0d7571054579614f9278999077921942ca08a7bf.tar.bz2
Using '~' in recording filename
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 60ea250c..1f4e8674 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.112 2001/09/01 15:18:23 kls Exp $
+ * $Id: menu.c 1.113 2001/09/02 10:00:40 kls Exp $
*/
#include "menu.h"
@@ -19,7 +19,7 @@
#define MENUTIMEOUT 120 // seconds
#define MAXWAIT4EPGINFO 10 // seconds
-const char *FileNameChars = " aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ0123456789-.#^";
+const char *FileNameChars = " aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ0123456789-.#~^";
// --- cMenuEditItem ---------------------------------------------------------
@@ -494,6 +494,7 @@ eOSState cMenuEditStrItem::ProcessKey(eKeys Key)
if (value[pos] == '^')
value[pos] = 0;
pos = -1;
+ stripspace(value);
break;
}
// run into default