changeset 12792:937154a9dfbe

(redisplay): Compute mini_frame the same way echo_area_display does.
author Richard M. Stallman <rms@gnu.org>
date Sun, 06 Aug 1995 21:15:09 +0000
parents 61bbb487bf2c
children 0464324deda7
files src/xdisp.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sun Aug 06 20:17:19 1995 +0000
+++ b/src/xdisp.c	Sun Aug 06 21:15:09 1995 +0000
@@ -1107,8 +1107,11 @@
 	 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))