Commit dc91fb5d authored by Karl Heuer's avatar Karl Heuer

(change_window_height): Handle shrink as well as enlarge.

parent cd6d305e
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment