diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-10-03 10:32:51 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-10-03 10:32:51 +0200 |
commit | c03de9e15e86ae91e82a05a6cc00a2291c2ebef0 (patch) | |
tree | 5316af9ebf839d4b7e567c13107b5c4ef65e8d1a /ci.c | |
parent | 1728fccfe27ab7c9a789fbfbe0ecae5d3d8920dd (diff) | |
download | vdr-c03de9e15e86ae91e82a05a6cc00a2291c2ebef0.tar.gz vdr-c03de9e15e86ae91e82a05a6cc00a2291c2ebef0.tar.bz2 |
The character 0x8A in CAM menu strings is now mapped to a real newline
Diffstat (limited to 'ci.c')
-rw-r--r-- | ci.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: ci.c 1.33 2005/10/02 15:06:07 kls Exp $ + * $Id: ci.c 1.34 2005/10/03 10:32:51 kls Exp $ */ #include "ci.h" @@ -101,6 +101,8 @@ static char *CopyString(int Length, const uint8_t *Data) char *s = MALLOC(char, Length + 1); strncpy(s, (char *)Data, Length); s[Length] = 0; + // The character 0x8A is used as newline, so let's put a real '\n' in there: + strreplace(s, 0x8A, '\n'); return s; } |