summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/mode-tree.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-05-12 18:16:34 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-05-12 18:16:34 +0000
commit9cc06177bfbc68eaaa608d7a3c416abfd825c184 (patch)
treeae4b3e94c1c0276b3c187389539adf9eb54d9da9 /usr.bin/tmux/mode-tree.c
parent49dd31dd5a852757b2818bb6cb06e47359a2805f (diff)
Fix some indentation and dead assignments.
Diffstat (limited to 'usr.bin/tmux/mode-tree.c')
-rw-r--r--usr.bin/tmux/mode-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/mode-tree.c b/usr.bin/tmux/mode-tree.c
index 302d8af1f3a..a130d504200 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.28 2019/05/12 08:58:09 nicm Exp $ */
+/* $OpenBSD: mode-tree.c,v 1.29 2019/05/12 18:16:33 nicm Exp $ */
/*
* Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -819,7 +819,7 @@ mode_tree_display_menu(struct mode_tree_data *mtd, struct client *c, u_int x,
line = mtd->current;
else
line = mtd->offset + y;
- mti = mtd->line_list[line].item;
+ mti = mtd->line_list[line].item;
if (!outside) {
s = mtd->menu;