updated for version 7.3.539
Problem: Redrawing a character on the command line does not work properly
for multi-byte charactes.
Solution: Count the number of bytes in a character. (Yukihiro Nakadaira)
diff --git a/src/ex_getln.c b/src/ex_getln.c
index a3a9c7b..c823119 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -2764,6 +2764,11 @@
msg_no_more = TRUE;
if (ccline.cmdlen == ccline.cmdpos)
msg_putchar(' ');
+#ifdef FEAT_MBYTE
+ else if (has_mbyte)
+ draw_cmdline(ccline.cmdpos,
+ (*mb_ptr2len)(ccline.cmdbuff + ccline.cmdpos));
+#endif
else
draw_cmdline(ccline.cmdpos, 1);
msg_no_more = FALSE;