summaryrefslogtreecommitdiff
path: root/apps/tagtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r--apps/tagtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index 5d61589eab..de75223e0b 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -1483,7 +1483,7 @@ int tagtree_enter(struct tree_context* c)
1483 else 1483 else
1484 { 1484 {
1485 rc = kbd_input(searchstring, SEARCHSTR_SIZE); 1485 rc = kbd_input(searchstring, SEARCHSTR_SIZE);
1486 if (rc == -1 || !searchstring[0]) 1486 if (rc < 0 || !searchstring[0])
1487 { 1487 {
1488 tagtree_exit(c); 1488 tagtree_exit(c);
1489 return 0; 1489 return 0;