1
0
mirror of https://github.com/tmux/tmux.git synced 2025-03-24 14:58:47 +00:00

Check all lists if option not found already.

This commit is contained in:
nicm 2020-07-23 14:17:56 +00:00
parent 1f5e520def
commit 112b0f417c

View File

@ -403,9 +403,9 @@ window_customize_build_options(struct window_customize_modedata *data,
for (i = 0; i < size; i++) {
if (oo2 != NULL)
o = options_get(oo0, list[i]);
else if (oo1 != NULL)
if (o == NULL && oo1 != NULL)
o = options_get(oo1, list[i]);
else
if (o == NULL)
o = options_get(oo2, list[i]);
if (options_owner(o) == oo2)
scope = scope2;