]> git.eshelyaron.com Git - emacs.git/commitdiff
(change_window_height): Handle shrink as well as enlarge.
authorKarl Heuer <kwzh@gnu.org>
Fri, 14 Mar 1997 17:22:11 +0000 (17:22 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 14 Mar 1997 17:22:11 +0000 (17:22 +0000)
src/window.c

index 98cae3214ec2406afe94ed96efa2377955555044..1c90476e35d077deafcd19c9cd5cef07cc0c4bf1 100644 (file)
@@ -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;