aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2010-08-03 17:29:53 +0100
committerConnor Lane Smith <cls@lubutu.com>2010-08-03 17:29:53 +0100
commit7a2782d02d10d6841fb024e5f9907faf782a2a88 (patch)
tree9275043ce673c74ec3edd46ccc9ed2dac781fcc4
parent1c91c2a99c076b0878be42cf1ea6ca9a5c4120a3 (diff)
downloaddmenu-7a2782d02d10d6841fb024e5f9907faf782a2a88.tar.gz
dmenu-7a2782d02d10d6841fb024e5f9907faf782a2a88.tar.bz2
dmenu-7a2782d02d10d6841fb024e5f9907faf782a2a88.zip
typo fix
-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;