From: Richard M. Stallman Date: Fri, 23 Sep 1994 22:49:47 +0000 (+0000) Subject: (prev_frame): Fix typo. X-Git-Tag: emacs-19.34~6822 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aea9f59e1c92e9d3b0e7879f294eb2c3c3a0ded8;p=emacs.git (prev_frame): Fix typo. --- diff --git a/src/frame.c b/src/frame.c index 8998dd8eb91..be80ea221fc 100644 --- a/src/frame.c +++ b/src/frame.c @@ -670,7 +670,7 @@ prev_frame (frame, minibuf) 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 @@ prev_frame (frame, minibuf) 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))