[hackers] [dmenu] tweak match || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Tue, 20 Sep 2011 01:13:12 +0200 (CEST)

changeset: 440:43b342f7e5be
branch: token
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Tue Sep 20 00:09:20 2011 +0100
files: dmenu.c
description:
tweak match

diff -r 61f0a6f68960 -r 43b342f7e5be dmenu.c
--- a/dmenu.c Tue Sep 20 00:06:13 2011 +0100
+++ b/dmenu.c Tue Sep 20 00:09:20 2011 +0100
@@ -392,7 +392,7 @@
                         appenditem(item, &lsubstr, &substrend);
         }
         if(lprefix) {
- if(matchend) {
+ if(matches) {
                         matchend->right = lprefix;
                         lprefix->left = matchend;
                 }
@@ -401,7 +401,7 @@
                 matchend = prefixend;
         }
         if(lsubstr) {
- if(matchend) {
+ if(matches) {
                         matchend->right = lsubstr;
                         lsubstr->left = matchend;
                 }
Received on Tue Sep 20 2011 - 01:13:12 CEST

This archive was generated by hypermail 2.2.0 : Tue Sep 20 2011 - 01:24:05 CEST