aboutsummaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-12-15 10:01:22 +0000
committerThomas Adam <thomas@xteddy.org>2020-12-15 10:01:22 +0000
commit950e982001f0038efb372ccb22d1c7e12866e0b7 (patch)
tree5aaf13a93310ca83a3ce43f8f03dc12704d802de /format.c
parent681c0d2bfbf22a51f90c977d0b3e91d30c23c11e (diff)
parent8bd29a30bff4e9d50765e2168a7aad11e163ccde (diff)
downloadrtmux-950e982001f0038efb372ccb22d1c7e12866e0b7.tar.gz
rtmux-950e982001f0038efb372ccb22d1c7e12866e0b7.tar.bz2
rtmux-950e982001f0038efb372ccb22d1c7e12866e0b7.zip
Merge branch 'obsd-master' into master
Diffstat (limited to 'format.c')
-rw-r--r--format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/format.c b/format.c
index f8067459..9a67bd3c 100644
--- a/format.c
+++ b/format.c
@@ -3085,7 +3085,7 @@ format_defaults_pane(struct format_tree *ft, struct window_pane *wp)
format_add_cb(ft, "pane_in_mode", format_cb_pane_in_mode);
format_add(ft, "pane_synchronized", "%d",
- !!options_get_number(w->options, "synchronize-panes"));
+ !!options_get_number(wp->options, "synchronize-panes"));
if (wp->searchstr != NULL)
format_add(ft, "pane_search_string", "%s", wp->searchstr);