diff options
-rw-r--r-- | src/fe-text/statusbar.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fe-text/statusbar.c b/src/fe-text/statusbar.c index 8f12e3e4..3b4b1eeb 100644 --- a/src/fe-text/statusbar.c +++ b/src/fe-text/statusbar.c @@ -426,6 +426,12 @@ STATUSBAR_REC *statusbar_create(STATUSBAR_GROUP_REC *group, name = g_strdup_printf("{sb_%s_bg}", group->name); value = theme_format_expand(theme, name); g_free(name); + + if (*value == '\0') { + /* fallback to default statusbar background + (also provides backwards compatibility..) */ + value = theme_format_expand(theme, "{sb_background}"); + } } if (*value == '\0') { |