From: Gerd Moellmann Date: Fri, 21 Jul 2000 14:59:18 +0000 (+0000) Subject: (foreach_window_1): Fix typo reversing an if-condition. X-Git-Tag: emacs-pretest-21.0.90~2693 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f532a9a24a423953c8204f20f0ab5e4c6ab933a;p=emacs.git (foreach_window_1): Fix typo reversing an if-condition. --- diff --git a/src/window.c b/src/window.c index ef4ea78c138..541da41aec8 100644 --- a/src/window.c +++ b/src/window.c @@ -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); }