No longer using characters 0x01 and 0x02 for mapping single quote and slash in recording names

This commit is contained in:
Klaus Schmidinger
2006-04-16 12:55:28 +02:00
parent 58facabfb6
commit 8c6deb20f2
4 changed files with 13 additions and 3 deletions

View File

@@ -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 }