diff --git a/src/ex_getln.c b/src/ex_getln.c index 928fe2075a..dabd65d143 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -3032,10 +3032,7 @@ cmdline_paste_str(s, literally) ++s; #ifdef FEAT_MBYTE if (has_mbyte) - { - c = mb_ptr2char(s); - s += mb_char2len(c); - } + c = mb_cptr2char_adv(&s); else #endif c = *s++; diff --git a/src/version.c b/src/version.c index cf910b97b0..5a3f014bdc 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 319, /**/ 318, /**/