[hackers] [dmenu] typo fix || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Tue, 3 Aug 2010 16:29:57 +0000 (UTC)

changeset: 349:12ed3b8bd1e1
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Tue Aug 03 17:29:53 2010 +0100
files: dmenu.c
description:
typo fix

diff -r 43d46730881a -r 12ed3b8bd1e1 dmenu.c
--- a/dmenu.c Tue Aug 03 17:18:24 2010 +0100
+++ b/dmenu.c Tue Aug 03 17:29:53 2010 +0100
@@ -136,7 +136,7 @@
         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;
Received on Tue Aug 03 2010 - 18:29:57 CEST

This archive was generated by hypermail 2.2.0 : Tue Aug 03 2010 - 18:36:04 CEST