diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2008-02-24 10:30:49 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2008-02-24 10:30:49 +0100 |
commit | ce7b0c94f76a9a8fa6a43b70428c0c38240d81b2 (patch) | |
tree | 4d7f33b89cbc0865afd730e800daccf5afe01ebb /menu.c | |
parent | 088c325e8f6f6bb70a2588a9eb6278c0795245af (diff) | |
download | vdr-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |