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~56^2~51 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c9eef8bd881a5a38f9b2c0ff764a12fcb0062734;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 --- diff --git a/gl_draw.c b/gl_draw.c index 24eb6faf..7fec01f1 100644 --- a/gl_draw.c +++ b/gl_draw.c @@ -1634,7 +1634,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;