Mercurial > emacs
changeset 30366:8dd313fc287d
(foreach_window_1): Fix typo reversing an if-condition.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 21 Jul 2000 14:59:18 +0000 |
parents | 5eece465cb5d |
children | 6b6439d7d174 |
files | src/window.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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); }