diff options
-rw-r--r-- | dmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -136,7 +136,7 @@ drawmenu(void) { | |||
136 | else if(curr && (dc->w == inputw || curr->next)) { | 136 | else if(curr && (dc->w == inputw || curr->next)) { |
137 | dc->x += inputw; | 137 | dc->x += inputw; |
138 | dc->w = textw(dc, "<"); | 138 | dc->w = textw(dc, "<"); |
139 | if(prev) | 139 | if(curr->left) |
140 | drawtext(dc, "<", normcol); | 140 | drawtext(dc, "<", normcol); |
141 | for(item = curr; item != next; item = item->right) { | 141 | for(item = curr; item != next; item = item->right) { |
142 | dc->x += dc->w; | 142 | dc->x += dc->w; |