about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-08-23 14:56:29 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-08-23 14:56:29 +0200
commit7d7a49f13244d1c71b32d8cf1220af1e7b515504 (patch)
tree203240d2f3e84d517c5d43da06dac1ffa49b661d
parente408e988a76de24a9872a2a8047594eb2270f017 (diff)
downloadprofani-tty-7d7a49f13244d1c71b32d8cf1220af1e7b515504.tar.gz
theme: print to log not to console
Seems this can cause trouble in case we cant use the theme properly.
-rw-r--r--src/config/theme.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/config/theme.c b/src/config/theme.c
index ab0041d9..b25f8e90 100644
--- a/src/config/theme.c
+++ b/src/config/theme.c
@@ -52,7 +52,6 @@
 #include "config/theme.h"
 #include "config/preferences.h"
 #include "config/color.h"
-#include "ui/ui.h"
 
 static GString *theme_loc;
 static GKeyFile *theme;
@@ -810,7 +809,7 @@ theme_attrs(theme_item_t attrs)
     // lookup colour pair
     result = color_pair_cache_get(lookup_str->str);
     if (result < 0) {
-        cons_show("Unable to load colour theme");
+        log_error("Unable to load colour theme");
         result = 0;
     }
     g_string_free(lookup_str, TRUE);