From 2a63724452257f6c92cb107c1766b1fb1552361f Mon Sep 17 00:00:00 2001 From: divverent Date: Fri, 29 Oct 2010 14:30:24 +0000 Subject: [PATCH] I suppose 0xE000 is a valid fontmap char... so render it as charmap item 0 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10566 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=c9eef8bd881a5a38f9b2c0ff764a12fcb0062734 --- gl_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_draw.c b/gl_draw.c index 3f576952..eca73b5f 100644 --- a/gl_draw.c +++ b/gl_draw.c @@ -1630,7 +1630,7 @@ float DrawQ_String_Scale(float startx, float starty, const char *text, size_t ma } if (!fontmap || (ch <= 0xFF && fontmap->glyphs[ch].image) || (ch >= 0xE000 && ch <= 0xE0FF)) { - if (ch > 0xE000) + if (ch >= 0xE000) ch -= 0xE000; if (ch > 0xFF) goto out; -- 2.39.2