mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
/format -reset crashed irssi
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@873 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f9653a5e1e
commit
f9c02639f5
@ -735,9 +735,9 @@ static void theme_show(THEME_SEARCH_REC *rec, const char *key, const char *value
|
||||
g_free_not_null(theme->formats[n]);
|
||||
g_free_not_null(theme->expanded_formats[n]);
|
||||
|
||||
theme->formats[n] = reset ? NULL : g_strdup(value);
|
||||
theme->expanded_formats[n] = reset ? NULL : theme_format_expand(current_theme, value);
|
||||
text = reset ? formats[n].def : value;
|
||||
theme->formats[n] = reset ? NULL : g_strdup(value);
|
||||
theme->expanded_formats[n] = theme_format_expand(current_theme, text);
|
||||
}
|
||||
printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP, IRCTXT_FORMAT_ITEM, formats[n].tag, text);
|
||||
last_title = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user