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.
This commit is contained in:
@@ -5161,7 +5161,7 @@ window_set_parent_and_normal_sizes (Lisp_Object parent)
|
||||
/* Normal size left for yet unprocessed windows. */
|
||||
double remainder = 1.0;
|
||||
|
||||
if (w->horizontal)
|
||||
if (p->horizontal)
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user