From: Bram Moolenaar Date: Tue, 1 Sep 2015 16:27:49 +0000 (+0200) Subject: patch 7.4.847 X-Git-Tag: v7.4.847 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8667d66ca923d361e00e6369cbff37283db5a432;p=vim patch 7.4.847 Problem: "vi)d" may leave a character behind. Solution: Skip over multi-byte character. (Christian Brabandt) --- diff --git a/src/search.c b/src/search.c index a78f051c2..74398e39e 100644 --- a/src/search.c +++ b/src/search.c @@ -3799,7 +3799,7 @@ current_block(oap, count, include, what, other) if (VIsual_active) { if (*p_sel == 'e') - ++curwin->w_cursor.col; + inc(&curwin->w_cursor); if (sol && gchar_cursor() != NUL) inc(&curwin->w_cursor); /* include the line break */ VIsual = start_pos; diff --git a/src/version.c b/src/version.c index f6ec16aa9..1a5e23764 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 847, /**/ 846, /**/