foo <=> foobar connection was wrong

This commit is contained in:
leitner
2005-03-17 10:37:51 +00:00
parent d02823c5ab
commit 7a38b5864d

View File

@@ -15,7 +15,7 @@ int matchstring(struct string* s,const char* c) {
if (l==s->l) return 0;
/* one is a prefix of the other */
if (l1<l) /* we cut off c */
return c[l1];
return -c[l1];
return (int)(s->s[l1]);
}