From 32ab41625ffb2e203a24ee24f321437980dd774a Mon Sep 17 00:00:00 2001 From: Ailin Nemui Date: Sun, 6 Feb 2022 09:50:38 +0100 Subject: [PATCH] simplify code --- src/fe-text/statusbar-items.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fe-text/statusbar-items.c b/src/fe-text/statusbar-items.c index 638827fd..6e7cf8a5 100644 --- a/src/fe-text/statusbar-items.c +++ b/src/fe-text/statusbar-items.c @@ -97,8 +97,7 @@ static char *get_activity_list(MAIN_WINDOW_REC *window, int normal, int hilight) /* comma separator */ if (str->len > 0) { - g_string_printf(format, "{sb_act_sep %s}", - strlen(actlist_separator) > 0 ? actlist_separator : ","); + g_string_printf(format, "{sb_act_sep %s}", actlist_separator); value = theme_format_expand(theme, format->str); g_string_append(str, value); g_free(value);