1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-01 04:14:16 -04:00

move caching to correct place :)

This commit is contained in:
vague666 2019-04-08 12:32:58 +02:00
parent 9cdeed2894
commit 9d9d99eeb1

View File

@ -76,8 +76,9 @@ static char *get_activity_list(MAIN_WINDOW_REC *window, int normal, int hilight)
GString *format;
GList *tmp;
char *ret, *name, *value;
int is_det, pref_name;
int is_det;
int add_name = settings_get_bool("actlist_names");
int pref_name = settings_get_bool("actlist_prefer_window_name");
str = g_string_new(NULL);
format = g_string_new(NULL);
@ -123,7 +124,6 @@ static char *get_activity_list(MAIN_WINDOW_REC *window, int normal, int hilight)
window->hilight_color,
window->refnum);
pref_name = settings_get_bool("actlist_prefer_window_name");
if (add_name && window->active != NULL)
g_string_append_printf(format, ":%s",
pref_name == 1 && window->name != NULL ?