commit 09d0a36e0370f7ca9bdb171bf93c5ac3131c5a92 from: Quentin Rameau via: Hiltjo Posthuma date: Sun Oct 4 13:04:59 2015 UTC fix input text matching just compare the size of the input string commit - acbf35a5e35b6f6a7dd3f8da49a6e5ec5ac075ce commit + 09d0a36e0370f7ca9bdb171bf93c5ac3131c5a92 blob - c9fb38bde2e487574f8367d33a6a18979bfdac9c blob + 4f22ffeb874b8871d3008e87c1c0c810bfac0c4b --- dmenu.c +++ dmenu.c @@ -219,7 +219,7 @@ match(void) len = tokc ? strlen(tokv[0]) : 0; matches = lprefix = lsubstr = matchend = prefixend = substrend = NULL; - textsize = strlen(text) + 1; + textsize = strlen(text); for (item = items; item && item->text; item++) { for (i = 0; i < tokc; i++) if (!fstrstr(item->text, tokv[i]))