summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1997-03-14 17:22:11 +0000
committerKarl Heuer <kwzh@gnu.org>1997-03-14 17:22:11 +0000
commitdc91fb5dbdac404d331ae0d94fe036e035d8daea (patch)
tree12f703de611debd91d44a3213fa85632695997a6 /src/window.c
parentcd6d305e531906764ed2660f0d1762907025d51b (diff)
(change_window_height): Handle shrink as well as enlarge.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
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;