1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

fix recount of lines after window set

This commit is contained in:
Ailin Nemui 2022-06-13 00:45:58 +02:00
parent 04b914dcb0
commit 48edd6f5fa

View File

@ -1464,8 +1464,10 @@ void textbuffer_view_set_window(TEXT_BUFFER_VIEW_REC *view,
if (view->window != window) {
view->window = window;
if (window != NULL)
if (window != NULL) {
textbuffer_view_resize(view, view->width, view->height);
view->dirty = TRUE;
}
}
}