390 |
i = 0; |
i = 0; |
391 |
if (fmt) { |
if (fmt) { |
392 |
/* search sequence or new line */ |
/* search sequence or new line */ |
393 |
while (str[i] != '\n' && str[i] != SEQCH && i < n) |
while (i < n && str[i] != '\n' && str[i] != SEQCH) |
394 |
i++; |
i++; |
395 |
} |
} |
396 |
else { |
else { |
397 |
/* accelerated search when no format is active |
/* accelerated search when no format is active |
398 |
(that's most of the time) */ |
(that's most of the time) */ |
399 |
while (str[i] != SEQCH && i < n) |
while (i < n && str[i] != SEQCH) |
400 |
i++; |
i++; |
401 |
} |
} |
402 |
|
|