mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 11:27:34 +00:00
(change_window_height): Handle shrink as well as enlarge.
This commit is contained in:
parent
cd6d305e53
commit
dc91fb5dbd
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue