# HG changeset patch # User vimboss # Date 1203515972 0 # Node ID 75f5889a5d8e8272fd17a104ef148776f9133aa8 # Parent cbe70f2e756d80015f6f0057e13a882ee7567276 updated for version 7.1-260 diff --git a/src/charset.c b/src/charset.c --- a/src/charset.c +++ b/src/charset.c @@ -1290,7 +1290,8 @@ getvcol(wp, pos, start, cursor, end) /* If a double-cell char doesn't fit at the end of a line * it wraps to the next line, it's like this char is three * cells wide. */ - if (incr == 2 && wp->w_p_wrap && in_win_border(wp, vcol)) + if (incr == 2 && wp->w_p_wrap && MB_BYTE2LEN(*ptr) > 1 + && in_win_border(wp, vcol)) { ++incr; head = 1; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 260, +/**/ 259, /**/ 258,