From: blub Date: Sun, 27 Dec 2009 09:52:49 +0000 (+0000) Subject: reducing error output in font loading (use developer != 0 to re-enable) X-Git-Tag: xonotic-v0.1.0preview~946 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7a6703946537c57bdb8605e4db89a96dc2c70139;p=xonotic%2Fdarkplaces.git reducing error output in font loading (use developer != 0 to re-enable) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9702 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/ft2.c b/ft2.c index df1daa38..54b0985e 100644 --- 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; } }