aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index c9fb38b..4f22ffe 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -219,7 +219,7 @@ match(void)
219 len = tokc ? strlen(tokv[0]) : 0; 219 len = tokc ? strlen(tokv[0]) : 0;
220 220
221 matches = lprefix = lsubstr = matchend = prefixend = substrend = NULL; 221 matches = lprefix = lsubstr = matchend = prefixend = substrend = NULL;
222 textsize = strlen(text) + 1; 222 textsize = strlen(text);
223 for (item = items; item && item->text; item++) { 223 for (item = items; item && item->text; item++) {
224 for (i = 0; i < tokc; i++) 224 for (i = 0; i < tokc; i++)
225 if (!fstrstr(item->text, tokv[i])) 225 if (!fstrstr(item->text, tokv[i]))