From: Connor Lane Smith Date: Tue, 3 Aug 2010 16:29:53 +0000 (+0100) Subject: typo fix X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=7a2782d02d10d6841fb024e5f9907faf782a2a88;p=dmenu.git typo fix --- diff --git a/dmenu.c b/dmenu.c index 227648c..b82ff59 100644 --- 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;