about summary refs log tree commit diff stats
path: root/src/config/theme.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-08-23 13:46:14 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-08-23 13:46:14 +0200
commit0b9880f7a0f27c42277d4b455bf7baa9d9959a79 (patch)
treea484d4b7f27d2d961845a854fa13dca9ec76f878 /src/config/theme.c
parentf0495affa436814226f7fdcce15837876ff7eb05 (diff)
downloadprofani-tty-0b9880f7a0f27c42277d4b455bf7baa9d9959a79.tar.gz
Use log_error() instead of g_warning()
Diffstat (limited to 'src/config/theme.c')
-rw-r--r--src/config/theme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/theme.c b/src/config/theme.c
index a5fdf064..f160fa7a 100644
--- a/src/config/theme.c
+++ b/src/config/theme.c
@@ -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) {