1
0

fixed vlist alignment

This commit is contained in:
Connor Lane Smith 2010-05-05 11:42:39 +01:00
parent a6835349df
commit 5bc288b2b1

View File

@ -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);