diff --git a/src/fe-common/core/themes.c b/src/fe-common/core/themes.c index cb1cce8f..ed4afb72 100644 --- a/src/fe-common/core/themes.c +++ b/src/fe-common/core/themes.c @@ -473,7 +473,7 @@ static char *theme_format_expand_abstract(THEME_REC *theme, str = g_string_new(NULL); p = ret; while (*p != '\0') { - if (*p == '\\') { + if (*p == '\\' && p[1] != '\0') { int chr; p++; chr = expand_escape(&p);