mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
No longer using characters 0x01 and 0x02 for mapping single quote and slash in recording names
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.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(¶meter, "'%s'", recording->FileName());
|
||||
asprintf(¶meter, "\"%s\"", *strescape(recording->FileName(), "\"$"));
|
||||
cMenuCommands *menu;
|
||||
eOSState state = AddSubMenu(menu = new cMenuCommands(tr("Recording commands"), &RecordingCommands, parameter));
|
||||
free(parameter);
|
||||
|
Reference in New Issue
Block a user