yet another cosmetic fix

This commit is contained in:
Anselm R. Garbe 2007-09-23 18:32:08 +02:00
parent 6514b07ad2
commit 2e898a308f
1 changed files with 2 additions and 6 deletions

View File

@ -507,20 +507,16 @@ match(char *pattern) {
nitem = 0;
for(i = allitems; i; i=i->next)
i->matched = False;
for(i = allitems; i; i = i->next)
if(!i->matched && !strncasecmp(pattern, i->text, plen))
j = appenditem(i, j);
for (i = allitems; i; i = i->next)
for(i = allitems; i; i = i->next)
if(!i->matched && strcasestr(i->text, pattern))
j = appenditem(i, j);
if(idomatch)
for (i = allitems; i; i = i->next)
for(i = allitems; i; i = i->next)
if(!i->matched && strcaseido(i->text, pattern))
j = appenditem(i, j);
curr = prev = next = sel = item;
calcoffsets();
}