changeset 9032:d69f3bc2e845

(prev_frame): Fix typo.
author Richard M. Stallman <rms@gnu.org>
date Fri, 23 Sep 1994 22:49:47 +0000
parents 5da502223e20
children 3c36c72db2bb
files src/frame.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Fri Sep 23 22:33:05 1994 +0000
+++ b/src/frame.c	Fri Sep 23 22:49:47 1994 +0000
@@ -670,7 +670,7 @@
 	  if (! FRAME_MINIBUF_ONLY_P (XFRAME (f)))
 	    prev = f;
 	}
-      else if (XTYPE (minibuf) == Lisp_Window)
+      else if (WINDOWP (minibuf))
 	{
 	  if (EQ (FRAME_MINIBUF_WINDOW (XFRAME (f)), minibuf)
 	      /* Check that F either is, or has forwarded its focus to,
@@ -686,7 +686,7 @@
 	  if (FRAME_VISIBLE_P (XFRAME (f)))
 	    prev = f;
 	}
-      else if (XFASTINT (f) == 0)
+      else if (XFASTINT (minibuf) == 0)
 	{
 	  FRAME_SAMPLE_VISIBILITY (XFRAME (f));
 	  if (FRAME_VISIBLE_P (XFRAME (f))