diff options
author | Connor Lane Smith <cls@lubutu.com> | 2011-09-20 00:09:20 +0100 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2011-09-20 00:09:20 +0100 |
commit | 4c8d43ab7382910f3577d6ed03ebaf3026db8419 (patch) | |
tree | 6cd222d8dd759b73a5d467e23f7f0a13b96aff73 /dmenu.c | |
parent | update manpage (diff) | |
download | dmenu-4c8d43ab7382910f3577d6ed03ebaf3026db8419.tar.gz dmenu-4c8d43ab7382910f3577d6ed03ebaf3026db8419.tar.bz2 dmenu-4c8d43ab7382910f3577d6ed03ebaf3026db8419.zip |
tweak match
Diffstat (limited to 'dmenu.c')
-rw-r--r-- | dmenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dmenu.c b/dmenu.c index 2bad8d6..1cd9f61 100644 --- 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; } |