From: Karl Heuer Date: Fri, 14 Mar 1997 17:22:11 +0000 (+0000) Subject: (change_window_height): Handle shrink as well as enlarge. X-Git-Tag: emacs-20.1~2789 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dc91fb5dbdac404d331ae0d94fe036e035d8daea;p=emacs.git (change_window_height): Handle shrink as well as enlarge. --- diff --git a/src/window.c b/src/window.c index 98cae3214ec..1c90476e35d 100644 --- a/src/window.c +++ b/src/window.c @@ -2575,7 +2575,7 @@ change_window_height (delta, widthflag) /* Look at one sibling at a time, moving away from this window in both directions alternately, and take as much as we can get without deleting that sibling. */ - while (delta > 0) + while (delta != 0) { if (delta == 0) break;