summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/control-notify.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-12-11 12:27:37 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-12-11 12:27:37 +0000
commit0acd6a362b41e985e864a92e9bee8ab3fbd9adf2 (patch)
treefad1146ee3386cdfd875e6f8ae3acaedc0cafac5 /usr.bin/tmux/control-notify.c
parent40d0fa54b40f910b6d5b9a7861c60f78582b52d8 (diff)
Add cmdq as an argument to format_create and add a format for the
command name (will also be used for more later).
Diffstat (limited to 'usr.bin/tmux/control-notify.c')
-rw-r--r--usr.bin/tmux/control-notify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/control-notify.c b/usr.bin/tmux/control-notify.c
index ecd1b1a21b5..70e28447128 100644
--- a/usr.bin/tmux/control-notify.c
+++ b/usr.bin/tmux/control-notify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control-notify.c,v 1.14 2015/12/08 08:34:18 nicm Exp $ */
+/* $OpenBSD: control-notify.c,v 1.15 2015/12/11 12:27:36 nicm Exp $ */
/*
* Copyright (c) 2012 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -88,7 +88,7 @@ control_notify_window_layout_changed(struct window *w)
if (w->layout_root == NULL)
continue;
- ft = format_create(0);
+ ft = format_create(NULL, 0);
wl = winlink_find_by_window(&s->windows, w);
if (wl != NULL) {
format_defaults(ft, c, NULL, wl, NULL);