summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/control-notify.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-12-11 12:27:36 +0000
committernicm <nicm@openbsd.org>2015-12-11 12:27:36 +0000
commit229bdecfd990c2b9c38421eeda34fc1f20a08adc (patch)
treeafcb4b1a3e169bc16ed1c3880ee342d43994d4fe /usr.bin/tmux/control-notify.c
parentWork around Nvidia EHCI controllers bugs. (diff)
downloadwireguard-openbsd-229bdecfd990c2b9c38421eeda34fc1f20a08adc.tar.xz
wireguard-openbsd-229bdecfd990c2b9c38421eeda34fc1f20a08adc.zip
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);