mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Added the backslash ('\') to the list of characters that need to be escaped when executing external commands
This commit is contained in:
4
menu.c
4
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;
|
||||
|
Reference in New Issue
Block a user