]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
I suppose 0xE000 is a valid fontmap char... so render it as charmap item 0
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 29 Oct 2010 14:30:24 +0000 (14:30 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 29 Oct 2010 14:35:18 +0000 (16:35 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10566 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=c9eef8bd881a5a38f9b2c0ff764a12fcb0062734

gl_draw.c

index 3f5769523595f40512020cff6b4d2d38c43ee7c6..eca73b5f8d304252f0d77ff5b440f68df4b21cb2 100644 (file)
--- 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;