1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Merge pull request #501 from ailin-nemui/more-crash

check for NULL in statusbar_more_updated
This commit is contained in:
LemonBoy 2016-06-26 21:09:01 +02:00 committed by GitHub
commit b8f7eaad40

View File

@ -289,6 +289,10 @@ static void sig_statusbar_more_updated(void)
{
int visible;
/* no active window, for example during /window hide */
if (active_win == NULL)
return;
visible = g_slist_find(more_visible, WINDOW_MAIN(active_win)) != NULL;
if (WINDOW_GUI(active_win)->view->more_text != visible)
statusbar_items_redraw("more");