mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r7515) -Codechange [newgrf]: Ignore ascii code 0x0A in text. Newline is 0x0D.
This commit is contained in:
parent
55b70d9eb3
commit
38c2574b3c
@ -179,7 +179,8 @@ char *TranslateTTDPatchCodes(const char *str)
|
||||
d += Utf8Encode(d, SCC_SETX);
|
||||
*d++ = *str++;
|
||||
break;
|
||||
case 0x0D: *d++ = 10; break;
|
||||
case 0x0A: break;
|
||||
case 0x0D: *d++ = 0x0A; break;
|
||||
case 0x0E: d += Utf8Encode(d, SCC_TINYFONT); break;
|
||||
case 0x0F: d += Utf8Encode(d, SCC_BIGFONT); break;
|
||||
case 0x1F:
|
||||
|
Loading…
Reference in New Issue
Block a user