mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
search: Fix V502: ?: ambiguity
This commit is contained in:
@@ -616,7 +616,7 @@ int searchit(
|
|||||||
* otherwise "/$" will get stuck on end of line.
|
* otherwise "/$" will get stuck on end of line.
|
||||||
*/
|
*/
|
||||||
while (matchpos.lnum == 0
|
while (matchpos.lnum == 0
|
||||||
&& ((options & SEARCH_END) && first_match
|
&& (((options & SEARCH_END) && first_match)
|
||||||
? (nmatched == 1
|
? (nmatched == 1
|
||||||
&& (int)endpos.col - 1
|
&& (int)endpos.col - 1
|
||||||
< (int)start_pos.col + extra_col)
|
< (int)start_pos.col + extra_col)
|
||||||
|
Reference in New Issue
Block a user