0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0207

This commit is contained in:
Bram Moolenaar
2006-02-25 21:52:33 +00:00
parent c542aef58d
commit 5c8837f9d7
13 changed files with 89 additions and 26 deletions

View File

@@ -6167,10 +6167,10 @@ next_search_hl(win, shl, lnum, mincol)
|| (shl->rm.endpos[0].lnum == 0
&& shl->rm.endpos[0].col <= shl->rm.startpos[0].col))
{
char_u *ml = ml_get_buf(shl->buf, lnum, FALSE);
char_u *ml;
matchcol = shl->rm.startpos[0].col;
ml += matchcol;
ml = ml_get_buf(shl->buf, lnum, FALSE) + matchcol;
if (*ml == NUL)
{
++matchcol;