diff src/window.c @ 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 481772010c86
children 8a8bcf6d7a0c
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;