summaryrefslogtreecommitdiff
path: root/strings.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-20 18:14:32 +0000
committertron <tron@openttd.org>2005-08-20 18:14:32 +0000
commitae49d487cc7cae0c0b47834aba94bdb801ba8c06 (patch)
tree637f2195ee283059cdbf3ca7e4fbfcf41df234b8 /strings.c
parentc1f4acd4a0aa1f8811cb50add8fe244adac68526 (diff)
downloadopenttd-ae49d487cc7cae0c0b47834aba94bdb801ba8c06.tar.xz
(svn r2879) Major step twoards ISO-8859-15
Add several missing chars: - Š/š (S with hacek, all sizes) - Ž/ž (Z with hacek, all sizes) - Œ/œ (OE ligature, all sizes) - Ð/ð (eth, large font was missing) - Þ/þ (thorn, large font was missing) - º (male ordinal sign, all sizes) Also move Ÿ (Y with umlaut, all sizes) to the correct position in the charset To add some chars it was necessary to shuffle some OTTD specific chars (arrows, transport type markers) around
Diffstat (limited to 'strings.c')
-rw-r--r--strings.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/strings.c b/strings.c
index 72709dae2..aca393b00 100644
--- a/strings.c
+++ b/strings.c
@@ -764,11 +764,11 @@ static char *FormatString(char *buff, const char *str, const int32 *argv, uint c
static char *StationGetSpecialString(char *buff, int x)
{
- if (x & 0x01) *buff++ = '\xB4';
- if (x & 0x02) *buff++ = '\xB5';
- if (x & 0x04) *buff++ = '\xB6';
- if (x & 0x08) *buff++ = '\xB7';
- if (x & 0x10) *buff++ = '\xB8';
+ if (x & 0x01) *buff++ = '\x94';
+ if (x & 0x02) *buff++ = '\x95';
+ if (x & 0x04) *buff++ = '\x96';
+ if (x & 0x08) *buff++ = '\x97';
+ if (x & 0x10) *buff++ = '\x98';
*buff = '\0';
return buff;
}