mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
split windows were broken. added some checks to textbuffer.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1449 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
a147dfc90c
commit
26312fae9a
2 changed files with 41 additions and 1 deletions
|
|
@ -120,6 +120,7 @@ MAIN_WINDOW_REC *mainwindow_create(void)
|
|||
int space;
|
||||
|
||||
rec = g_new0(MAIN_WINDOW_REC, 1);
|
||||
rec->width = screen_width;
|
||||
rec->statusbar_lines = 1;
|
||||
|
||||
if (mainwindows == NULL) {
|
||||
|
|
@ -128,7 +129,6 @@ MAIN_WINDOW_REC *mainwindow_create(void)
|
|||
rec->first_line = reserved_up;
|
||||
rec->last_line = screen_height-1 -
|
||||
reserved_down-rec->statusbar_lines;
|
||||
rec->width = screen_width;
|
||||
rec->height = rec->last_line-rec->first_line+1;
|
||||
} else {
|
||||
parent = WINDOW_GUI(active_win)->parent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue