Browse Source

arrow offset

master
Connor Lane Smith 14 years ago
parent
commit
75a19c35bd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dmenu.c

+ 1
- 1
dmenu.c View File

@ -124,7 +124,7 @@ drawmenu(void) {
dc_drawtext(dc, "<", normcol);
for(item = curr; item != next; item = item->right) {
dc->x += dc->w;
dc->w = MIN(dc_textw(dc, item->text), mw - dc->x);
dc->w = MIN(dc_textw(dc, item->text), mw - dc->x - dc_textw(dc, ">"));
dc_drawtext(dc, item->text, (item == sel) ? selcol : normcol);
}
dc->w = dc_textw(dc, ">");


Loading…
Cancel
Save