summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-06-20 15:02:26 +0100
committerThomas Adam <thomas@xteddy.org>2019-06-20 15:02:26 +0100
commitf8ad72b2eeafc1146c116f73194a3950aa0c2143 (patch)
tree98b47921006cbb3e96d98fc8214824ec130e364e /tmux.c
parenta0e2c1b4cae9269d04ee2e80e1d1cb8adc78cd8a (diff)
parent5f92f92908b81b4ec66682adb84b9ffc8d83c2f7 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmux.c b/tmux.c
index 685827d4..f9de920c 100644
--- a/tmux.c
+++ b/tmux.c
@@ -321,11 +321,11 @@ main(int argc, char **argv)
global_s_options = options_create(NULL);
global_w_options = options_create(NULL);
for (oe = options_table; oe->name != NULL; oe++) {
- if (oe->scope == OPTIONS_TABLE_SERVER)
+ if (oe->scope & OPTIONS_TABLE_SERVER)
options_default(global_options, oe);
- if (oe->scope == OPTIONS_TABLE_SESSION)
+ if (oe->scope & OPTIONS_TABLE_SESSION)
options_default(global_s_options, oe);
- if (oe->scope == OPTIONS_TABLE_WINDOW)
+ if (oe->scope & OPTIONS_TABLE_WINDOW)
options_default(global_w_options, oe);
}