diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-12-11 12:27:37 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-12-11 12:27:37 +0000 |
commit | 0acd6a362b41e985e864a92e9bee8ab3fbd9adf2 (patch) | |
tree | fad1146ee3386cdfd875e6f8ae3acaedc0cafac5 /usr.bin/tmux/cmd-list-windows.c | |
parent | 40d0fa54b40f910b6d5b9a7861c60f78582b52d8 (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/cmd-list-windows.c')
-rw-r--r-- | usr.bin/tmux/cmd-list-windows.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-list-windows.c b/usr.bin/tmux/cmd-list-windows.c index 97039998f4d..c429ed813ef 100644 --- a/usr.bin/tmux/cmd-list-windows.c +++ b/usr.bin/tmux/cmd-list-windows.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-list-windows.c,v 1.31 2015/12/08 08:34:18 nicm Exp $ */ +/* $OpenBSD: cmd-list-windows.c,v 1.32 2015/12/11 12:27:36 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -105,7 +105,7 @@ cmd_list_windows_session( n = 0; RB_FOREACH(wl, winlinks, &s->windows) { - ft = format_create(0); + ft = format_create(cmdq, 0); format_add(ft, "line", "%u", n); format_defaults(ft, NULL, s, wl, NULL); |