summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-02-24 10:30:49 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-02-24 10:30:49 +0100
commitce7b0c94f76a9a8fa6a43b70428c0c38240d81b2 (patch)
tree4d7f33b89cbc0865afd730e800daccf5afe01ebb /menu.c
parent088c325e8f6f6bb70a2588a9eb6278c0795245af (diff)
downloadvdr-ce7b0c94f76a9a8fa6a43b70428c0c38240d81b2.tar.gz
vdr-ce7b0c94f76a9a8fa6a43b70428c0c38240d81b2.tar.bz2
Added the backslash ('\') to the list of characters that need to be escaped when executing external commands1.5.16
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 0fb36cbe..37da3ddc 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.479 2008/02/24 10:08:42 kls Exp $
+ * $Id: menu.c 1.480 2008/02/24 10:28:46 kls Exp $
*/
#include "menu.h"
@@ -2127,7 +2127,7 @@ eOSState cMenuRecordings::Commands(eKeys Key)
cRecording *recording = GetRecording(ri);
if (recording) {
cMenuCommands *menu;
- eOSState state = AddSubMenu(menu = new cMenuCommands(tr("Recording commands"), &RecordingCommands, cString::sprintf("\"%s\"", *strescape(recording->FileName(), "\"$"))));
+ eOSState state = AddSubMenu(menu = new cMenuCommands(tr("Recording commands"), &RecordingCommands, cString::sprintf("\"%s\"", *strescape(recording->FileName(), "\\\"$"))));
if (Key != kNone)
state = menu->ProcessKey(Key);
return state;