From: divverent Date: Fri, 29 Oct 2010 14:30:24 +0000 (+0000) Subject: I suppose 0xE000 is a valid fontmap char... so render it as charmap item 0 X-Git-Tag: xonotic-v0.1.0preview~93 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2a63724452257f6c92cb107c1766b1fb1552361f;p=xonotic%2Fdarkplaces.git 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 --- 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;