From 95143b6ede6226cd4cd45b6062397afd50bfcea3 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 29 Nov 2021 11:01:51 +0000 Subject: [PATCH] Fix user option lookup ordering. --- usr.bin/tmux/window-customize.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/tmux/window-customize.c b/usr.bin/tmux/window-customize.c index ea9dae79894..188f3f0af87 100644 --- a/usr.bin/tmux/window-customize.c +++ b/usr.bin/tmux/window-customize.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-customize.c,v 1.12 2021/08/21 17:25:32 nicm Exp $ */ +/* $OpenBSD: window-customize.c,v 1.13 2021/11/29 11:01:51 nicm Exp $ */ /* * Copyright (c) 2020 Nicholas Marriott @@ -398,11 +398,11 @@ window_customize_build_options(struct window_customize_modedata *data, for (i = 0; i < size; i++) { if (oo2 != NULL) - o = options_get(oo0, list[i]); + o = options_get(oo2, list[i]); if (o == NULL && oo1 != NULL) o = options_get(oo1, list[i]); if (o == NULL) - o = options_get(oo2, list[i]); + o = options_get(oo0, list[i]); if (options_owner(o) == oo2) scope = scope2; else if (options_owner(o) == oo1) -- 2.20.1