limit lines to input 1cf38644
Connor Lane Smith · 2011-10-13 20:43 1 file(s) · +1 −0
dmenu.c +1 −0
454 454
	if(items)
455 455
		items[i].text = NULL;
456 456
	inputw = maxstr ? textw(dc, maxstr) : 0;
457 +
	lines = MIN(lines, i);
457 458
}
458 459
459 460
void