changeset 7663:eb26954fb767

(window_loop): Fix test of dedicated flag in prev change.
author Richard M. Stallman <rms@gnu.org>
date Mon, 23 May 1994 20:09:33 +0000
parents 25cf7bc3b8c5
children c363ad97af4a
files src/window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Mon May 23 09:48:37 1994 +0000
+++ b/src/window.c	Mon May 23 20:09:33 1994 +0000
@@ -1274,7 +1274,7 @@
 		/* If this window is dedicated, and in a frame of its own,
 		   kill the frame.  */
 		if (EQ (w, FRAME_ROOT_WINDOW (f))
-		    && XWINDOW (w)->dedicated
+		    && !NILP (XWINDOW (w)->dedicated)
 		    && other_visible_frames (f))
 		  Fdelete_frame (WINDOW_FRAME (XWINDOW (w)), Qnil);
 		else