artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f5b80e
)
Shut up a warning.
author
nicm
<nicm@openbsd.org>
Wed, 31 May 2017 16:44:33 +0000
(16:44 +0000)
committer
nicm
<nicm@openbsd.org>
Wed, 31 May 2017 16:44:33 +0000
(16:44 +0000)
usr.bin/tmux/cmd-find-window.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/cmd-find-window.c
b/usr.bin/tmux/cmd-find-window.c
index
8809b55
..
52a80fd
100644
(file)
--- a/
usr.bin/tmux/cmd-find-window.c
+++ b/
usr.bin/tmux/cmd-find-window.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: cmd-find-window.c,v 1.4
3 2017/05/30 21:44:59
nicm Exp $ */
+/* $OpenBSD: cmd-find-window.c,v 1.4
4 2017/05/31 16:44:33
nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-79,7
+79,7
@@
cmd_find_window_exec(struct cmd *self, struct cmdq_item *item)
xasprintf(&filter, "#{C:%s}", s);
else if (N)
xasprintf(&filter, "#{m:*%s*,#{window_name}}", s);
- else
if (T)
+ else
xasprintf(&filter, "#{m:*%s*,#{pane_title}}", s);
new_args = args_parse("", 1, &argv);