simpler vline 5867c533
Connor Lane Smith · 2011-07-06 13:40 1 file(s) · +2 −4
dmenu.c +2 −4
330 330
			cursor = nextrune(-1);
331 331
			break;
332 332
		}
333 -
		else if(lines > 0)
334 -
			return;
333 +
		/* fallthrough */
335 334
	case XK_Up:
336 335
		if(sel && sel->left && (sel = sel->left)->right == curr) {
337 336
			curr = prev;
359 358
			cursor = nextrune(+1);
360 359
			break;
361 360
		}
362 -
		else if(lines > 0)
363 -
			return;
361 +
		/* fallthrough */
364 362
	case XK_Down:
365 363
		if(sel && sel->right && (sel = sel->right) == next) {
366 364
			curr = next;