mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05: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:
parent
e408e988a7
commit
7d7a49f132
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user