Don't assume OEM fonts have a space in position 255. We know there's
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 9 Apr 2001 12:46:45 +0000 (12:46 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 9 Apr 2001 12:46:45 +0000 (12:46 +0000)
one in position 32 so let's use that! (Thanks RDB.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@1032 cda61777-01e9-0310-a592-d414129be87e

window.c

index f724275..127036a 100644 (file)
--- a/window.c
+++ b/window.c
@@ -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,