# HG changeset patch # User Gerd Moellmann # Date 964191558 0 # Node ID 8dd313fc287d1327a1c1b8dbd12fcd0b926ed92b # Parent 5eece465cb5d02d63e39b9c46dc710beaebe9e5d (foreach_window_1): Fix typo reversing an if-condition. diff -r 5eece465cb5d -r 8dd313fc287d src/window.c --- a/src/window.c Fri Jul 21 14:36:24 2000 +0000 +++ b/src/window.c Fri Jul 21 14:59:18 2000 +0000 @@ -5122,8 +5122,8 @@ 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); }