From 7a6703946537c57bdb8605e4db89a96dc2c70139 Mon Sep 17 00:00:00 2001 From: blub Date: Sun, 27 Dec 2009 09:52:49 +0000 Subject: [PATCH] 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 --- ft2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- 2.39.2