applied next patch of Sander
301b4e55
1 file(s) · +2 −3
| 505 | 505 | item = j = NULL; |
|
| 506 | 506 | nitem = 0; |
|
| 507 | 507 | for(i = allitems; i; i = i->next) |
|
| 508 | - | if(!fstrncmp(pattern, i->text, plen)) |
|
| 509 | - | j = appenditem(i, j); |
|
| 510 | - | else if(fstrstr(i->text, pattern)) |
|
| 508 | + | if(!fstrncmp(pattern, i->text, plen) |
|
| 509 | + | || fstrstr(i->text, pattern)) |
|
| 511 | 510 | j = appenditem(i, j); |
|
| 512 | 511 | curr = prev = next = sel = item; |
|
| 513 | 512 | calcoffsets(); |