Created
October 16, 2016 09:20
-
-
Save h-east/90f60b514295dd78081316bb4941a9b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/screen.c b/src/screen.c | |
index 0889db9..2fd1a52 100644 | |
--- a/src/screen.c | |
+++ b/src/screen.c | |
@@ -7790,7 +7790,7 @@ next_search_hl_pos( | |
if (pos->lnum == 0) | |
break; | |
- if (pos->col + pos->len - 1 <= mincol) | |
+ if (pos->len == 0 && pos->col < mincol) | |
continue; | |
if (pos->lnum == lnum) | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment