projects
/
suckless
/
dmenu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0582480
)
tweak match
author
Connor Lane Smith
<cls@lubutu.com>
Mon, 19 Sep 2011 23:09:20 +0000
(
00:09
+0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Mon, 19 Sep 2011 23:09:20 +0000
(
00:09
+0100)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index 2bad8d6860af582f87339c201fdafe757d70f403..1cd9f611312064ef7e4449b03661b9e75e040e49 100644
(file)
--- a/
dmenu.c
+++ b/
dmenu.c
@@
-392,7
+392,7
@@
match(void) {
appenditem(item, &lsubstr, &substrend);
}
if(lprefix) {
- if(matche
nd
) {
+ if(matche
s
) {
matchend->right = lprefix;
lprefix->left = matchend;
}
@@
-401,7
+401,7
@@
match(void) {
matchend = prefixend;
}
if(lsubstr) {
- if(matche
nd
) {
+ if(matche
s
) {
matchend->right = lsubstr;
lsubstr->left = matchend;
}