mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.0-188
This commit is contained in:
@@ -814,7 +814,7 @@ searchit(win, buf, pos, dir, pat, count, options, pat_use, stop_lnum)
|
||||
{
|
||||
/* '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);
|
||||
|
Reference in New Issue
Block a user