Mercurial > vim
changeset 1062:9e084588b706 v7.0.188
updated for version 7.0-188
author | vimboss |
---|---|
date | Tue, 16 Jan 2007 21:14:45 +0000 |
parents | b4d11ddb7303 |
children | d763e7d7e938 |
files | src/search.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/search.c +++ b/src/search.c @@ -814,7 +814,7 @@ searchit(win, buf, pos, dir, pat, count, { /* 'e' offset may put us just below the last line */ if (pos->lnum > buf->b_ml.ml_line_count) - ptr = ""; + ptr = (char_u *)""; else ptr = ml_get_buf(buf, pos->lnum, FALSE); pos->col -= (*mb_head_off)(ptr, ptr + pos->col);