1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-26 23:03:27 +01:00

fix segfault

This commit is contained in:
Jfreegman 2014-10-09 15:47:48 -04:00
parent e4a28d1839
commit 14dc02ac83
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -370,7 +370,7 @@ void on_window_resize(void)
if (w->help->active) if (w->help->active)
wclear(w->help->win); wclear(w->help->win);
if (w->show_peerlist) { if (w->is_groupchat) {
delwin(w->chatwin->sidebar); delwin(w->chatwin->sidebar);
w->chatwin->sidebar = NULL; w->chatwin->sidebar = NULL;
} else { } else {