summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-rw-r--r--usr.bin/tmux/tmux.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c
index e837961022b..4dda60659d8 100644
--- a/usr.bin/tmux/tmux.c
+++ b/usr.bin/tmux/tmux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.c,v 1.188 2019/04/26 11:38:51 nicm Exp $ */
+/* $OpenBSD: tmux.c,v 1.189 2019/06/20 11:59:59 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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);
}