Use log_error() instead of g_warning()

This commit is contained in:
Michael Vetter
2019-08-23 13:46:14 +02:00
parent f0495affa4
commit 0b9880f7a0
2 changed files with 19 additions and 16 deletions

View File

@@ -807,8 +807,8 @@ theme_attrs(theme_item_t attrs)
// lookup colour pair
result = color_pair_cache_get(lookup_str->str);
if (result < 0) {
g_warning("invalid color <%s>", lookup_str->str);
result = 0;
log_error("Invalid color <%s>", lookup_str->str);
result = 0;
}
g_string_free(lookup_str, TRUE);
if (bold) {