]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
reducing error output in font loading (use developer != 0 to re-enable)
authorblub <blub@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Dec 2009 09:52:49 +0000 (09:52 +0000)
committerblub <blub@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Dec 2009 09:52:49 +0000 (09:52 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9702 d7cf8633-e32d-0410-b094-e92efae38249

ft2.c

diff --git a/ft2.c b/ft2.c
index df1daa38e7b47761b12703169c534932274d83c0..54b0985ea74ec970245a6bae07ddbf3a9b44b1f1 100644 (file)
--- a/ft2.c
+++ b/ft2.c
@@ -926,7 +926,8 @@ static qboolean Font_LoadMap(ft2_font_t *font, ft2_font_map_t *mapstart, Uchar _
                        if (status)
                        {
                                //Con_Printf("failed to load glyph %lu for %s\n", glyphIndex, font->name);
-                               Con_Printf("failed to load glyph for char %lx from font %s\n", (unsigned long)ch, font->name);
+                               if (developer.integer)
+                                       Con_Printf("failed to load glyph for char %lx from font %s\n", (unsigned long)ch, font->name);
                                continue;
                        }
                }