mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
fix recount of lines after window set
This commit is contained in:
parent
04b914dcb0
commit
48edd6f5fa
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue