mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Also handling unencoded newline characters
This commit is contained in:
parent
b8471a3f11
commit
a1a248ae42
@ -852,6 +852,7 @@ char *siGetDescriptorText (u_char *Buffer, u_int Length)
|
|||||||
if (*Buffer == 0) break;
|
if (*Buffer == 0) break;
|
||||||
|
|
||||||
if ((*Buffer >= ' ' && *Buffer <= '~') ||
|
if ((*Buffer >= ' ' && *Buffer <= '~') ||
|
||||||
|
(*Buffer == '\n') ||
|
||||||
(*Buffer >= 0xa0 && *Buffer <= 0xff)) *tmp++ = *Buffer;
|
(*Buffer >= 0xa0 && *Buffer <= 0xff)) *tmp++ = *Buffer;
|
||||||
if (*Buffer == 0x8A) *tmp++ = '\n';
|
if (*Buffer == 0x8A) *tmp++ = '\n';
|
||||||
if (*Buffer == 0x86 || *Buffer == 0x87) *tmp++ = ' ';
|
if (*Buffer == 0x86 || *Buffer == 0x87) *tmp++ = ' ';
|
||||||
|
Loading…
Reference in New Issue
Block a user