From: Bram Moolenaar Date: Wed, 6 Jun 2012 10:03:06 +0000 (+0200) Subject: updated for version 7.3.539 X-Git-Tag: v7.3.539 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64fdf5ceae75d85e139a0d3812e0544f5bf6cb56;p=thirdparty%2Fvim.git 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 a3a9c7b91a..c823119adc 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -2764,6 +2764,11 @@ unputcmdline() 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; diff --git a/src/version.c b/src/version.c index 4f3ef5bfa0..9eecd6fa8a 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 539, /**/ 538, /**/