fix input text matching 09d0a36e
just compare the size of the input string
Quentin Rameau · 2015-10-04 14:47 1 file(s) · +1 −1
dmenu.c +1 −1
219 219
	len = tokc ? strlen(tokv[0]) : 0;
220 220
221 221
	matches = lprefix = lsubstr = matchend = prefixend = substrend = NULL;
222 -
	textsize = strlen(text) + 1;
222 +
	textsize = strlen(text);
223 223
	for (item = items; item && item->text; item++) {
224 224
		for (i = 0; i < tokc; i++)
225 225
			if (!fstrstr(item->text, tokv[i]))