tweak match - dmenu - Dmenu fork with xft fonts.
 (HTM) git clone git://r-36.net/dmenu
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 4c8d43ab7382910f3577d6ed03ebaf3026db8419
 (DIR) parent 0582480801d5815ef39fd624cb4ba108d0d21b35
 (HTM) Author: Connor Lane Smith <cls@lubutu.com>
       Date:   Tue, 20 Sep 2011 00:09:20 +0100
       
       tweak match
       Diffstat:
         M dmenu.c                             |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/dmenu.c b/dmenu.c
       @@ -392,7 +392,7 @@ match(void) {
                                appenditem(item, &lsubstr, &substrend);
                }
                if(lprefix) {
       -                if(matchend) {
       +                if(matches) {
                                matchend->right = lprefix;
                                lprefix->left = matchend;
                        }
       @@ -401,7 +401,7 @@ match(void) {
                        matchend = prefixend;
                }
                if(lsubstr) {
       -                if(matchend) {
       +                if(matches) {
                                matchend->right = lsubstr;
                                lsubstr->left = matchend;
                        }