diff options
author | Timo Sirainen <cras@irssi.org> | 2001-04-16 16:44:10 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-04-16 16:44:10 +0000 |
commit | 26312fae9aeeb3256b8a36a7b2478a861100d98f (patch) | |
tree | a092ac1ff451bd68850841c9d882eb23a28b76e1 /src/fe-text/mainwindows.c | |
parent | a147dfc90c16a3c49273af09ab67ce754b2214c2 (diff) | |
download | irssi-26312fae9aeeb3256b8a36a7b2478a861100d98f.zip |
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
Diffstat (limited to 'src/fe-text/mainwindows.c')
-rw-r--r-- | src/fe-text/mainwindows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c index 21093a23..504017b1 100644 --- a/src/fe-text/mainwindows.c +++ b/src/fe-text/mainwindows.c @@ -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; |