From 7d7a49f13244d1c71b32d8cf1220af1e7b515504 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 23 Aug 2019 14:56:29 +0200 Subject: theme: print to log not to console Seems this can cause trouble in case we cant use the theme properly. --- src/config/theme.c | 3 +-- 1 file changed, 1 insertion(+), 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); -- cgit 1.4.1-2-gfad0