mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 17:12:51 +02:00
simplify code
This commit is contained in:
parent
089cab715f
commit
32ab41625f
1 changed files with 1 additions and 2 deletions
|
|
@ -97,8 +97,7 @@ static char *get_activity_list(MAIN_WINDOW_REC *window, int normal, int hilight)
|
||||||
|
|
||||||
/* comma separator */
|
/* comma separator */
|
||||||
if (str->len > 0) {
|
if (str->len > 0) {
|
||||||
g_string_printf(format, "{sb_act_sep %s}",
|
g_string_printf(format, "{sb_act_sep %s}", actlist_separator);
|
||||||
strlen(actlist_separator) > 0 ? actlist_separator : ",");
|
|
||||||
value = theme_format_expand(theme, format->str);
|
value = theme_format_expand(theme, format->str);
|
||||||
g_string_append(str, value);
|
g_string_append(str, value);
|
||||||
g_free(value);
|
g_free(value);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue