diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-06-07 15:27:47 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-06-07 15:27:47 +0000 |
commit | e1782e85409778654f310ca3db0a72b2e60a27e8 (patch) | |
tree | 643a17799b1b45fbc17fa8e9cf0f030b8dcde386 /usr.bin/tmux/mode-tree.c | |
parent | 913a48e127bc3e432236141dea89ac7852b4dde6 (diff) |
Return 1 if name matches not 0, also fix some spaces.
Diffstat (limited to 'usr.bin/tmux/mode-tree.c')
-rw-r--r-- | usr.bin/tmux/mode-tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/mode-tree.c b/usr.bin/tmux/mode-tree.c index d7e09571897..49a123daff3 100644 --- a/usr.bin/tmux/mode-tree.c +++ b/usr.bin/tmux/mode-tree.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mode-tree.c,v 1.3 2017/06/07 14:37:30 nicm Exp $ */ +/* $OpenBSD: mode-tree.c,v 1.4 2017/06/07 15:27:46 nicm Exp $ */ /* * Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -595,7 +595,7 @@ mode_tree_search_for(struct mode_tree_data *mtd) continue; } if (mtd->searchcb(mtd->modedata, mti->itemdata, mtd->ss)) - return (mti); + return (mti); } return (NULL); } |