diff options
| author | Martin Rudalics | 2025-11-22 10:12:37 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2025-11-22 10:12:37 +0100 |
| commit | b728f50e1f05270e6f650c79e65cddd2ca0d4bc0 (patch) | |
| tree | 79f3124c84c8f0706f91328786fbef2fc52907ea /src | |
| parent | 32fc382e9e2034daaad52cabc36bcc6c06d0e292 (diff) | |
| download | emacs-b728f50e1f05270e6f650c79e65cddd2ca0d4bc0.tar.gz emacs-b728f50e1f05270e6f650c79e65cddd2ca0d4bc0.zip | |
Fix thinko in 'window_set_parent_and_normal_sizes'
* src/window.c (window_set_parent_and_normal_sizes): When
assigning normal sizes in a combination, take the direction from
its parent's 'horizontal' slot and not from that of the first
window in the combination.
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index d776cd7119e..1d9104cc779 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -5161,7 +5161,7 @@ window_set_parent_and_normal_sizes (Lisp_Object parent) | |||
| 5161 | /* Normal size left for yet unprocessed windows. */ | 5161 | /* Normal size left for yet unprocessed windows. */ |
| 5162 | double remainder = 1.0; | 5162 | double remainder = 1.0; |
| 5163 | 5163 | ||
| 5164 | if (w->horizontal) | 5164 | if (p->horizontal) |
| 5165 | { | 5165 | { |
| 5166 | while (true) | 5166 | while (true) |
| 5167 | { | 5167 | { |