summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-10-07 14:13:29 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-10-07 14:13:29 +0200
commit3547208c34d965e0c51c7c4767d3726670876b33 (patch)
treecab368bc7d46ae12a550f9c0b18547c043a04562 /eit.c
parent1e897cc3a8d781cdfe1c952d1870f5d954116e1d (diff)
downloadvdr-3547208c34d965e0c51c7c4767d3726670876b33.tar.gz
vdr-3547208c34d965e0c51c7c4767d3726670876b33.tar.bz2
Mapping backtick characters in EPG texts to single quotes
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/eit.c b/eit.c
index 79c3b5fb..a2d8361c 100644
--- a/eit.c
+++ b/eit.c
@@ -16,7 +16,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: eit.c 1.25 2001/10/07 13:42:48 kls Exp $
+ * $Id: eit.c 1.26 2001/10/07 14:08:40 kls Exp $
***************************************************************************/
#include "eit.h"
@@ -451,6 +451,13 @@ void cEventInfo::FixEpgBugs(void)
}
}
+ // Some channels use the ` ("backtick") character, where a ' (single quote)
+ // would be normally used. Actually, "backticks" in normal text don't make
+ // much sense, so let's replace them:
+ strreplace(pTitle, '`', '\'');
+ strreplace(pSubtitle, '`', '\'');
+ strreplace(pExtendedDescription, '`', '\'');
+
if (Setup.EPGBugfixLevel <= 2)
return;