# HG changeset patch # User Karl Heuer # Date 858360131 0 # Node ID 05385a7a18c9c78eac1d0f9ce2a0362894d37362 # Parent d8e2f7cfb2b7988d8bfa4c6b93dcf5a52c8cee03 (change_window_height): Handle shrink as well as enlarge. diff -r d8e2f7cfb2b7 -r 05385a7a18c9 src/window.c --- a/src/window.c Fri Mar 14 16:35:03 1997 +0000 +++ b/src/window.c Fri Mar 14 17:22:11 1997 +0000 @@ -2575,7 +2575,7 @@ /* 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;