diff options
| author | Connor Lane Smith <cls@lubutu.com> | 2010-05-05 11:42:39 +0100 |
|---|---|---|
| committer | Connor Lane Smith <cls@lubutu.com> | 2010-05-05 11:42:39 +0100 |
| commit | 5bc288b2b1270957baab2142e1e8b20b796fed11 (patch) | |
| tree | 772b4f194ece08e490a8dce2f1845fe08fe6d9ae | |
| parent | a6835349dfeafb994f250fcf98acc6dd74f010c2 (diff) | |
fixed vlist alignment
| -rw-r--r-- | dmenu.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -255,8 +255,7 @@ void | |||
| 255 | drawmenuv(void) { | 255 | drawmenuv(void) { |
| 256 | Item *i; | 256 | Item *i; |
| 257 | 257 | ||
| 258 | dc.x = 0; | 258 | dc.w = mw - dc.x; |
| 259 | dc.w = mw; | ||
| 260 | dc.y += dc.font.height + 2; | 259 | dc.y += dc.font.height + 2; |
| 261 | for(i = curr; i != next; i=i->right) { | 260 | for(i = curr; i != next; i=i->right) { |
| 262 | drawtext(i->text, (sel == i) ? dc.sel : dc.norm); | 261 | drawtext(i->text, (sel == i) ? dc.sel : dc.norm); |
