From 8667d66ca923d361e00e6369cbff37283db5a432 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 1 Sep 2015 18:27:49 +0200 Subject: patch 7.4.847 Problem: "vi)d" may leave a character behind. Solution: Skip over multi-byte character. (Christian Brabandt) --- src/search.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/search.c b/src/search.c index a78f051c26..74398e39e8 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 f6ec16aa97..1a5e237648 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, /**/ -- cgit v1.2.3