yet another cosmetic fix
2e898a30
1 file(s) · +2 −6
| 507 | 507 | nitem = 0; |
|
| 508 | 508 | for(i = allitems; i; i=i->next) |
|
| 509 | 509 | i->matched = False; |
|
| 510 | - | ||
| 511 | 510 | for(i = allitems; i; i = i->next) |
|
| 512 | 511 | if(!i->matched && !strncasecmp(pattern, i->text, plen)) |
|
| 513 | 512 | j = appenditem(i, j); |
|
| 514 | - | ||
| 515 | - | for (i = allitems; i; i = i->next) |
|
| 513 | + | for(i = allitems; i; i = i->next) |
|
| 516 | 514 | if(!i->matched && strcasestr(i->text, pattern)) |
|
| 517 | 515 | j = appenditem(i, j); |
|
| 518 | - | ||
| 519 | 516 | if(idomatch) |
|
| 520 | - | for (i = allitems; i; i = i->next) |
|
| 517 | + | for(i = allitems; i; i = i->next) |
|
| 521 | 518 | if(!i->matched && strcaseido(i->text, pattern)) |
|
| 522 | 519 | j = appenditem(i, j); |
|
| 523 | - | ||
| 524 | 520 | curr = prev = next = sel = item; |
|
| 525 | 521 | calcoffsets(); |
|
| 526 | 522 | } |