summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-16 12:55:28 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-16 12:55:28 +0200
commit8c6deb20f2fc1c77c0fa2698e20f998ebda355a2 (patch)
tree8cd175afc072431281652753b4a48ec52177a7f3 /menu.c
parent58facabfb6df0ebac572792be34ca55b11c8afb0 (diff)
downloadvdr-8c6deb20f2fc1c77c0fa2698e20f998ebda355a2.tar.gz
vdr-8c6deb20f2fc1c77c0fa2698e20f998ebda355a2.tar.bz2
No longer using characters 0x01 and 0x02 for mapping single quote and slash in recording names
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 553d3a91..8c3fe2ec 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.433 2006/04/16 10:09:21 kls Exp $
+ * $Id: menu.c 1.434 2006/04/16 12:20:46 kls Exp $
*/
#include "menu.h"
@@ -2036,7 +2036,7 @@ eOSState cMenuRecordings::Commands(eKeys Key)
cRecording *recording = GetRecording(ri);
if (recording) {
char *parameter = NULL;
- asprintf(&parameter, "'%s'", recording->FileName());
+ asprintf(&parameter, "\"%s\"", *strescape(recording->FileName(), "\"$"));
cMenuCommands *menu;
eOSState state = AddSubMenu(menu = new cMenuCommands(tr("Recording commands"), &RecordingCommands, parameter));
free(parameter);