mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 07:46:21 +00:00
theme: print to log not to console
Seems this can cause trouble in case we cant use the theme properly.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user