typo fix
authorConnor Lane Smith <cls@lubutu.com>
Tue, 3 Aug 2010 16:29:53 +0000 (17:29 +0100)
committerConnor Lane Smith <cls@lubutu.com>
Tue, 3 Aug 2010 16:29:53 +0000 (17:29 +0100)
dmenu.c

diff --git a/dmenu.c b/dmenu.c
index 227648c..b82ff59 100644 (file)
--- a/dmenu.c
+++ b/dmenu.c
@@ -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;