summaryrefslogtreecommitdiff
path: root/dmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu.c')
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
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;