From 55c7d1976f4191f117c52b57dc004d0ac3a89c0a Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Tue, 30 Oct 2012 19:29:41 +0000 Subject: [PATCH] - show final font file selected in verbose mode --- source/shared_lib/sources/graphics/font.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/shared_lib/sources/graphics/font.cpp b/source/shared_lib/sources/graphics/font.cpp index 3aeae8d42..668909870 100644 --- a/source/shared_lib/sources/graphics/font.cpp +++ b/source/shared_lib/sources/graphics/font.cpp @@ -457,6 +457,8 @@ const char* findFont(const char *firstFontToTry,const char *firstFontFamilyToTry CHECK_FONT_PATH("\\windows\\fonts\\arial.ttf",NULL) #endif + if(SystemFlags::VERBOSE_MODE_ENABLED) printf("Final selection of font file is [%s]\n",(font != NULL ? font : "null")); \ + return font; }