mirror of
https://github.com/tmux/tmux.git
synced 2025-04-21 11:58:48 +00:00
Fix user option lookup ordering.
This commit is contained in:
parent
b55f0ac6b9
commit
add03dfb8d
@ -398,11 +398,11 @@ window_customize_build_options(struct window_customize_modedata *data,
|
|||||||
|
|
||||||
for (i = 0; i < size; i++) {
|
for (i = 0; i < size; i++) {
|
||||||
if (oo2 != NULL)
|
if (oo2 != NULL)
|
||||||
o = options_get(oo0, list[i]);
|
o = options_get(oo2, list[i]);
|
||||||
if (o == NULL && oo1 != NULL)
|
if (o == NULL && oo1 != NULL)
|
||||||
o = options_get(oo1, list[i]);
|
o = options_get(oo1, list[i]);
|
||||||
if (o == NULL)
|
if (o == NULL)
|
||||||
o = options_get(oo2, list[i]);
|
o = options_get(oo0, list[i]);
|
||||||
if (options_owner(o) == oo2)
|
if (options_owner(o) == oo2)
|
||||||
scope = scope2;
|
scope = scope2;
|
||||||
else if (options_owner(o) == oo1)
|
else if (options_owner(o) == oo1)
|
||||||
|
Loading…
Reference in New Issue
Block a user