summaryrefslogtreecommitdiffstats
path: root/cmd-set-option.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index cc8b7570..a0138d86 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -72,7 +72,7 @@ cmd_set_option_exec(struct cmd *self, struct cmdq_item *item)
struct cmd_find_state *fs = &item->state.tflag;
struct session *s = fs->s;
struct winlink *wl = fs->wl;
- struct window *w = wl->window;
+ struct window *w;
struct client *c;
enum options_table_scope scope;
struct options *oo;