From 770c906a1c9495fff5016477871299c4a0dfdf97 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Mon, 8 Dec 2008 16:32:56 +0000 Subject: Simplify. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4954 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/mainwindows.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/fe-text/mainwindows.c') 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); } -- cgit v1.2.3