> + /* Clear the flag for a match at the starting position: it only makes
> + * sense for the very first search. Otherwise, in conjunction with
> + * the skip function, it can cause an early termination of the loop.
> */
> + options &= !SEARCH_START;
I believe you ment
options &= ~SEARCH_START;
> if (n == FAIL || (firstpos.lnum != 0 && equalpos(pos, firstpos)))
> /* didn't find it or found the first match again: FAIL */
> break;
>
-ap
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---