mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 02:23:02 +01:00
fix segfault
This commit is contained in:
parent
e4a28d1839
commit
14dc02ac83
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user