about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/complete.c b/complete.c
index ead2457..9e59db5 100644
--- a/complete.c
+++ b/complete.c
@@ -122,7 +122,7 @@ const char *complete(uint id, const char *prefix) {
 const char *completeSubstr(uint id, const char *substr) {
 	for (match = (match ? match->next : head); match; match = match->next) {
 		if (match->id && match->id != id) continue;
-		if (!strcasestr(match->str, substr)) continue;
+		if (!strstr(match->str, substr)) continue;
 		return match->str;
 	}
 	return NULL;