search: Fix V502: ?: ambiguity

This commit is contained in:
ZyX
2017-05-20 04:28:21 +03:00
parent 5bea4906a2
commit 8bd903cd51

View File

@@ -616,7 +616,7 @@ int searchit(
* otherwise "/$" will get stuck on end of line.
*/
while (matchpos.lnum == 0
&& ((options & SEARCH_END) && first_match
&& (((options & SEARCH_END) && first_match)
? (nmatched == 1
&& (int)endpos.col - 1
< (int)start_pos.col + extra_col)