findfont debug only with DF_INIT

This commit is contained in:
Zeno Rogue 2023-05-15 19:36:10 +02:00
parent 24cd670de0
commit f2cb72aaeb
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ const string& findfont() {
FcPatternDestroy(pat);
FcFini();
font_to_find = "";
println(hlog, "fontpath is: ", fontpath);
if(debugflags & DF_INIT) println(hlog, "fontpath is: ", fontpath);
#endif
return fontpath;
}