summaryrefslogtreecommitdiffstats
path: root/window-choose.c
diff options
context:
space:
mode:
Diffstat (limited to 'window-choose.c')
-rw-r--r--window-choose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window-choose.c b/window-choose.c
index c3c5f921..0e2f1bf9 100644
--- a/window-choose.c
+++ b/window-choose.c
@@ -202,7 +202,7 @@ window_choose_data_create(int type, struct client *c, struct session *s)
wcd = xmalloc(sizeof *wcd);
wcd->type = type;
- wcd->ft = format_create(NULL, FORMAT_NONE, 0);
+ wcd->ft = format_create(c, NULL, FORMAT_NONE, 0);
wcd->ft_template = NULL;
wcd->command = NULL;