Xinqi Bao's Git
projects
/
dmenu.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
tweak match
[dmenu.git]
/
dmenu.c
diff --git
a/dmenu.c
b/dmenu.c
index
2bad8d6
..
1cd9f61
100644
(file)
--- a/
dmenu.c
+++ b/
dmenu.c
@@
-392,7
+392,7
@@
match(void) {
appenditem(item, &lsubstr, &substrend);
}
if(lprefix) {
appenditem(item, &lsubstr, &substrend);
}
if(lprefix) {
- if(matche
nd
) {
+ if(matche
s
) {
matchend->right = lprefix;
lprefix->left = matchend;
}
matchend->right = lprefix;
lprefix->left = matchend;
}
@@
-401,7
+401,7
@@
match(void) {
matchend = prefixend;
}
if(lsubstr) {
matchend = prefixend;
}
if(lsubstr) {
- if(matche
nd
) {
+ if(matche
s
) {
matchend->right = lsubstr;
lsubstr->left = matchend;
}
matchend->right = lsubstr;
lsubstr->left = matchend;
}