pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f31f5
)
arrow offset
author
Connor Lane Smith
<cls@lubutu.com>
Fri, 20 Aug 2010 18:57:13 +0000
(19:57 +0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Fri, 20 Aug 2010 18:57:13 +0000
(19:57 +0100)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index
5ae611f
..
9dd0363
100644
(file)
--- a/
dmenu.c
+++ b/
dmenu.c
@@
-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, ">");