aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1997-03-14 17:22:11 +0000
committerKarl Heuer1997-03-14 17:22:11 +0000
commitdc91fb5dbdac404d331ae0d94fe036e035d8daea (patch)
tree12f703de611debd91d44a3213fa85632695997a6 /src
parentcd6d305e531906764ed2660f0d1762907025d51b (diff)
downloademacs-dc91fb5dbdac404d331ae0d94fe036e035d8daea.tar.gz
emacs-dc91fb5dbdac404d331ae0d94fe036e035d8daea.zip
(change_window_height): Handle shrink as well as enlarge.
Diffstat (limited to 'src')
-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)
2575 /* Look at one sibling at a time, 2575 /* Look at one sibling at a time,
2576 moving away from this window in both directions alternately, 2576 moving away from this window in both directions alternately,
2577 and take as much as we can get without deleting that sibling. */ 2577 and take as much as we can get without deleting that sibling. */
2578 while (delta > 0) 2578 while (delta != 0)
2579 { 2579 {
2580 if (delta == 0) 2580 if (delta == 0)
2581 break; 2581 break;