1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

simplify code

This commit is contained in:
Ailin Nemui 2022-02-06 09:50:38 +01:00
parent 089cab715f
commit 32ab41625f

View File

@ -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);