]> git.eshelyaron.com Git - emacs.git/commitdiff
(window_loop): Fix test of dedicated flag in prev change.
authorRichard M. Stallman <rms@gnu.org>
Mon, 23 May 1994 20:09:33 +0000 (20:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 23 May 1994 20:09:33 +0000 (20:09 +0000)
src/window.c

index 133229af5f6c005668be75488b9e2b1606ebadbc..89d9305ca33593a0f6348d23f569b32d89b4df85 100644 (file)
@@ -1274,7 +1274,7 @@ window_loop (type, obj, mini, frames)
                /* 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