summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}