forked from aniani/vim
updated for version 7.0-186
This commit is contained in:
@@ -812,6 +812,10 @@ searchit(win, buf, pos, dir, pat, count, options, pat_use, stop_lnum)
|
|||||||
#ifdef FEAT_MBYTE
|
#ifdef FEAT_MBYTE
|
||||||
if (has_mbyte)
|
if (has_mbyte)
|
||||||
{
|
{
|
||||||
|
/* 'e' offset may put us just below the last line */
|
||||||
|
if (pos->lnum > buf->b_ml.ml_line_count)
|
||||||
|
ptr = "";
|
||||||
|
else
|
||||||
ptr = ml_get_buf(buf, pos->lnum, FALSE);
|
ptr = ml_get_buf(buf, pos->lnum, FALSE);
|
||||||
pos->col -= (*mb_head_off)(ptr, ptr + pos->col);
|
pos->col -= (*mb_head_off)(ptr, ptr + pos->col);
|
||||||
}
|
}
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
186,
|
||||||
/**/
|
/**/
|
||||||
185,
|
185,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user