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
commitf0393bc4b15c66bb07e07ed9321f8ac3a624bd2c (patch)
tree637f2195ee283059cdbf3ca7e4fbfcf41df234b8 /strings.c
parentb0ecdbee7d0c8aacc1109624d34c75f58646f796 (diff)
downloadopenttd-f0393bc4b15c66bb07e07ed9321f8ac3a624bd2c.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;
}