fixed vlist alignment

master
Connor Lane Smith 15 years ago
parent a6835349df
commit 5bc288b2b1
  1. 3
      dmenu.c

@ -255,8 +255,7 @@ void
drawmenuv(void) { drawmenuv(void) {
Item *i; Item *i;
dc.x = 0; dc.w = mw - dc.x;
dc.w = mw;
dc.y += dc.font.height + 2; dc.y += dc.font.height + 2;
for(i = curr; i != next; i=i->right) { for(i = curr; i != next; i=i->right) {
drawtext(i->text, (sel == i) ? dc.sel : dc.norm); drawtext(i->text, (sel == i) ? dc.sel : dc.norm);

Loading…
Cancel
Save