aboutsummaryrefslogtreecommitdiff
path: root/cmd-set-window-option.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-set-window-option.c')
-rw-r--r--cmd-set-window-option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-set-window-option.c b/cmd-set-window-option.c
index cc9bf963..99b1a907 100644
--- a/cmd-set-window-option.c
+++ b/cmd-set-window-option.c
@@ -82,7 +82,7 @@ cmd_set_window_option_exec(struct cmd *self, struct cmd_ctx *ctx)
u_int i;
if (data->flags & CMD_GFLAG)
- oo = &global_window_options;
+ oo = &global_w_options;
else {
if ((wl = cmd_find_window(ctx, data->target, NULL)) == NULL)
return (-1);