]> git.eshelyaron.com Git - emacs.git/commitdiff
(foreach_window_1): Fix typo reversing an if-condition.
authorGerd Moellmann <gerd@gnu.org>
Fri, 21 Jul 2000 14:59:18 +0000 (14:59 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 21 Jul 2000 14:59:18 +0000 (14:59 +0000)
src/window.c

index ef4ea78c138d9e868c31cc69b97a2a54ed7fdfb9..541da41aec818731989457d61c635307f44c7ffb 100644 (file)
@@ -5122,8 +5122,8 @@ foreach_window_1 (w, fn, user_data)
        cont = foreach_window_1 (XWINDOW (w->hchild), fn, user_data);
       else if (!NILP (w->vchild))
        cont = foreach_window_1 (XWINDOW (w->vchild), fn, user_data);
-      else if (fn (w, user_data))
-       cont = 0;
+      else 
+       cont = fn (w, user_data);
       
       w = NILP (w->next) ? 0 : XWINDOW (w->next);
     }