Now delivering control character 0x86 and 0x87, which some stations use to mark short names

This commit is contained in:
Klaus Schmidinger 2004-01-04 14:26:53 +01:00
parent 97c3658803
commit 06688d22ea
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or * * the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. * * (at your option) any later version. *
* * * *
* $Id: si.c 1.2 2003/12/13 10:42:16 kls Exp $ * $Id: si.c 1.3 2004/01/04 14:26:53 kls Exp $
* * * *
***************************************************************************/ ***************************************************************************/
@ -225,7 +225,7 @@ void String::decodeText(char *buffer) {
else if (*from == 0x8A) else if (*from == 0x8A)
*to++ = '\n'; *to++ = '\n';
else if (*from == 0x86 || *from == 0x87) //&& !(GDT_NAME_DESCRIPTOR & type)) else if (*from == 0x86 || *from == 0x87) //&& !(GDT_NAME_DESCRIPTOR & type))
*to++ = ' '; *to++ = *from;
from++; from++;
} }
*to = '\0'; *to = '\0';