summaryrefslogtreecommitdiff
path: root/src/fe-text/mainwindows.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/mainwindows.c')
-rw-r--r--src/fe-text/mainwindows.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c
index ddd56f84..bc043798 100644
--- a/src/fe-text/mainwindows.c
+++ b/src/fe-text/mainwindows.c
@@ -206,9 +206,7 @@ MAIN_WINDOW_REC *mainwindow_create(void)
rec->last_line = rec->first_line + space;
rec->height = rec->last_line-rec->first_line+1;
- parent->first_line = rec->last_line+1;
- parent->height = parent->last_line-parent->first_line+1;
-
+ parent->first_line += space+1;
mainwindow_resize(parent, 0, -space-1);
}