changeset 17156:05385a7a18c9

(change_window_height): Handle shrink as well as enlarge.
author Karl Heuer <kwzh@gnu.org>
date Fri, 14 Mar 1997 17:22:11 +0000
parents d8e2f7cfb2b7
children d7bf028f0899
files src/window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;