diff options
-rw-r--r-- | src/config/theme.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/theme.c b/src/config/theme.c index 9becc833..39f3d00c 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -184,6 +184,9 @@ theme_exists(const char* const theme_name) gboolean theme_load(const char* const theme_name, gboolean load_theme_prefs) { + if (!theme_exists(theme_name)) + return FALSE; + color_pair_cache_reset(); if (_theme_load_file(theme_name)) { |