aboutsummaryrefslogtreecommitdiff
path: root/dmenu.c
diff options
context:
space:
mode:
authorConnor Lane Smith2010-08-03 17:29:53 +0100
committerConnor Lane Smith2010-08-03 17:29:53 +0100
commit7a2782d02d10d6841fb024e5f9907faf782a2a88 (patch)
tree9275043ce673c74ec3edd46ccc9ed2dac781fcc4 /dmenu.c
parent1c91c2a99c076b0878be42cf1ea6ca9a5c4120a3 (diff)
typo fix
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;