From f2cb72aaeb119e9717071b4dce9257acb9b3dd67 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 15 May 2023 19:36:10 +0200 Subject: [PATCH] findfont debug only with DF_INIT --- basegraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basegraph.cpp b/basegraph.cpp index c9f6e62a..767f8cba 100644 --- a/basegraph.cpp +++ b/basegraph.cpp @@ -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; }