Don't assume OEM fonts have a space in position 255. We know there's

one in position 32 so let's use that! (Thanks RDB.)

[originally from svn r1032]
This commit is contained in:
Simon Tatham 2001-04-09 12:46:45 +00:00
Родитель 8e91c62bfa
Коммит 9d9ca5300a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1726,7 +1726,7 @@ void do_text (Context ctx, int x, int y, char *text, int len,
#endif
/* This is CP437 ... junk translation */
static const unsigned char oemhighhalf[] = {
0xff, 0xad, 0x9b, 0x9c, 0x6f, 0x9d, 0x7c, 0x15,
0x20, 0xad, 0x9b, 0x9c, 0x6f, 0x9d, 0x7c, 0x15,
0x22, 0x43, 0xa6, 0xae, 0xaa, 0x2d, 0x52, 0xc4,
0xf8, 0xf1, 0xfd, 0x33, 0x27, 0xe6, 0x14, 0xfa,
0x2c, 0x31, 0xa7, 0xaf, 0xac, 0xab, 0x2f, 0xa8,