mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
fix formatting
This commit is contained in:
parent
d6b55c6d43
commit
089cab715f
@ -97,7 +97,8 @@ 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}", strlen(actlist_separator) > 0 ? actlist_separator : ",");
|
g_string_printf(format, "{sb_act_sep %s}",
|
||||||
|
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);
|
||||||
@ -460,7 +461,7 @@ static void read_settings(void)
|
|||||||
actlist_sort = settings_get_choice("actlist_sort");
|
actlist_sort = settings_get_choice("actlist_sort");
|
||||||
|
|
||||||
sep = settings_get_str("actlist_separator");
|
sep = settings_get_str("actlist_separator");
|
||||||
if(g_strcmp0(actlist_separator, sep) != 0) {
|
if (g_strcmp0(actlist_separator, sep) != 0) {
|
||||||
g_free(actlist_separator);
|
g_free(actlist_separator);
|
||||||
actlist_separator = g_strdup(sep);
|
actlist_separator = g_strdup(sep);
|
||||||
statusbar_items_redraw("act");
|
statusbar_items_redraw("act");
|
||||||
|
Loading…
Reference in New Issue
Block a user