From: simon Date: Mon, 9 Apr 2001 12:46:45 +0000 (+0000) Subject: Don't assume OEM fonts have a space in position 255. We know there's X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/5350aeb9bb32750b616ac2013576934883cd095a?ds=sidebyside;hp=e7fbcdd8b5bf9d12521cd32657a89d682bfaa422 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.) git-svn-id: svn://svn.tartarus.org/sgt/putty@1032 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/window.c b/window.c index f7242758..127036ab 100644 --- 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,