]> git.armaanb.net Git - dmenu.git/commitdiff
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 227648c3fe74bb43b642cb84d370cf5e2f3adf7a..b82ff5982a825da855c40e889850a156c01f296d 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;