From 84faf44c96f3ab75f115636a2bab3d230b22f829 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 6 Aug 1995 21:15:09 +0000 Subject: [PATCH] (redisplay): Compute mini_frame the same way echo_area_display does. --- src/xdisp.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 6a4b5dc34ac..bd1bdf5bcdb 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1107,8 +1107,11 @@ update: above call to update_frame would not have caught it. Catch it here. */ { - FRAME_PTR mini_frame - = XFRAME (WINDOW_FRAME (XWINDOW (minibuf_window))); + Lisp_Object mini_window; + FRAME_PTR mini_frame; + + mini_window = FRAME_MINIBUF_WINDOW (selected_frame); + mini_frame = XFRAME (WINDOW_FRAME (XWINDOW (mini_window))); if (mini_frame != selected_frame && ! FRAME_TERMCAP_P (mini_frame)) -- 2.39.2