summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-windows.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-18 11:56:41 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-18 11:56:41 +0000
commit5802ec5a34f4bd342fdf18a13983a73c2ea06d00 (patch)
tree25b6cd331a019bb1a491882afab5067b30bd8dc9 /src/fe-text/gui-windows.c
parent0abb62a4719dac1e59f5ecf97540c3bb24af9bb2 (diff)
downloadirssi-5802ec5a34f4bd342fdf18a13983a73c2ea06d00.zip
Sometimes when changing from split window to another, irssi crashed/messed
up the screen. Happened mostly if the window layout was saved. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2047 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/gui-windows.c')
-rw-r--r--src/fe-text/gui-windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/gui-windows.c b/src/fe-text/gui-windows.c
index 148baa2f..ce984a97 100644
--- a/src/fe-text/gui-windows.c
+++ b/src/fe-text/gui-windows.c
@@ -261,7 +261,7 @@ static void signal_window_changed(WINDOW_REC *window)
active_mainwin->active = window;
textbuffer_view_set_window(WINDOW_GUI(window)->view,
- parent->screen_win);
+ active_mainwin->screen_win);
if (WINDOW_GUI(window)->view->dirty)
active_mainwin->dirty = TRUE;
}