From 0f532a9a24a423953c8204f20f0ab5e4c6ab933a Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 21 Jul 2000 14:59:18 +0000 Subject: [PATCH] (foreach_window_1): Fix typo reversing an if-condition. --- src/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.2