diff --git a/src/normal.c b/src/normal.c index e5fa1401c..fc9e94480 100644 --- a/src/normal.c +++ b/src/normal.c @@ -1076,7 +1076,10 @@ getcount: #ifdef FEAT_MBYTE /* When getting a text character and the next character is a * multi-byte character, it could be a composing character. - * However, don't wait for it to arrive. */ + * However, don't wait for it to arrive. Also, do enable mapping, + * because if it's put back with vungetc() it's too late to apply + * mapping. */ + --no_mapping; while (enc_utf8 && lang && (c = vpeekc()) > 0 && (c >= 0x100 || MB_BYTE2LEN(vpeekc()) > 1)) { @@ -1091,6 +1094,7 @@ getcount: else ca.ncharC2 = c; } + ++no_mapping; #endif } --no_mapping; diff --git a/src/version.c b/src/version.c index 47d5adb5f..146b124ff 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 374, /**/ 373, /**/