summaryrefslogtreecommitdiff
path: root/recording.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 /recording.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 'recording.c')
-rw-r--r--recording.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/recording.c b/recording.c
index fa21df21..41ace603 100644
--- a/recording.c
+++ b/recording.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.c 1.144 2006/04/09 13:49:51 kls Exp $
+ * $Id: recording.c 1.145 2006/04/16 12:43:58 kls Exp $
*/
#include "recording.h"
@@ -389,7 +389,10 @@ bool cRecordingInfo::Write(FILE *f, const char *Prefix) const
struct tCharExchange { char a; char b; };
tCharExchange CharExchange[] = {
{ '~', '/' },
+ { '/', '~' },
{ ' ', '_' },
+ // backwards compatibility:
+ { '\'', '\'' },
{ '\'', '\x01' },
{ '/', '\x02' },
{ 0, 0 }