summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/options.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-06-23 10:00:29 +0000
committernicm <nicm@openbsd.org>2019-06-23 10:00:29 +0000
commita03d89f5849e969d3dec8a41c69ace6219404ba1 (patch)
tree306665f6587c8477ba28b6fe8d85e4fdb5dae2aa /usr.bin/tmux/options.c
parentAdd more option test to dgst in appstest.sh (diff)
downloadwireguard-openbsd-a03d89f5849e969d3dec8a41c69ace6219404ba1.tar.xz
wireguard-openbsd-a03d89f5849e969d3dec8a41c69ace6219404ba1.zip
Do not always set scope for panes because the window check might fail,
GitHub issue 1810.
Diffstat (limited to 'usr.bin/tmux/options.c')
-rw-r--r--usr.bin/tmux/options.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/options.c b/usr.bin/tmux/options.c
index c13c8901da7..b31061b7066 100644
--- a/usr.bin/tmux/options.c
+++ b/usr.bin/tmux/options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options.c,v 1.51 2019/06/20 18:13:04 nicm Exp $ */
+/* $OpenBSD: options.c,v 1.52 2019/06/23 10:00:29 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -784,7 +784,6 @@ options_scope_from_name(struct args *args, int window,
}
break;
}
- scope = OPTIONS_TABLE_WINDOW;
/* FALLTHROUGH */
case OPTIONS_TABLE_WINDOW:
if (args_has(args, 'g')) {