ttypo fix - dmenu - Dmenu fork with xft fonts.
(HTM) git clone git://r-36.net/dmenu
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 7a2782d02d10d6841fb024e5f9907faf782a2a88
(DIR) parent 1c91c2a99c076b0878be42cf1ea6ca9a5c4120a3
(HTM) Author: Connor Lane Smith <cls@lubutu.com>
Date: Tue, 3 Aug 2010 17:29:53 +0100
ttypo fix
Diffstat:
dmenu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/dmenu.c b/dmenu.c
t@@ -136,7 +136,7 @@ drawmenu(void) {
else if(curr && (dc->w == inputw || curr->next)) {
dc->x += inputw;
dc->w = textw(dc, "<");
- if(prev)
+ if(curr->left)
drawtext(dc, "<", normcol);
for(item = curr; item != next; item = item->right) {
dc->x += dc->w;