diff options
Diffstat (limited to 'src/config/theme.c')
-rw-r--r-- | src/config/theme.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/config/theme.c b/src/config/theme.c index eafd431c..c7d979c5 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -67,8 +67,12 @@ static gboolean _theme_load_file(const char *const theme_name); void theme_init(const char *const theme_name) { - if (!_theme_load_file(theme_name) && !_theme_load_file("default")) { - log_error("Theme initialisation failed"); + if (!_theme_load_file(theme_name)) { + log_error("Loading theme %s failed.", theme_name); + + if (!_theme_load_file("default")) { + log_error("Theme initialisation failed."); + } } defaults = g_hash_table_new_full(g_str_hash, g_str_equal, free, free); |