1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Make redrawing of item actually work

This commit is contained in:
vague666 2022-01-31 10:36:57 +01:00 committed by Ailin Nemui
parent de626250b5
commit d6b55c6d43

View File

@ -453,13 +453,16 @@ static void item_input(SBAR_ITEM_REC *item, int get_size_only)
static void read_settings(void) static void read_settings(void)
{ {
const char *sep;
if (active_entry != NULL) if (active_entry != NULL)
gui_entry_set_utf8(active_entry, term_type == TERM_TYPE_UTF8); gui_entry_set_utf8(active_entry, term_type == TERM_TYPE_UTF8);
actlist_sort = settings_get_choice("actlist_sort"); actlist_sort = settings_get_choice("actlist_sort");
if(g_strcmp0(actlist_separator, settings_get_str("actlist_separator")) != 0) { sep = settings_get_str("actlist_separator");
actlist_separator = settings_get_str("actlist_separator"); if(g_strcmp0(actlist_separator, sep) != 0) {
g_free(actlist_separator);
actlist_separator = g_strdup(sep);
statusbar_items_redraw("act"); statusbar_items_redraw("act");
} }
} }