mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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)
This commit is contained in:
@@ -2764,6 +2764,11 @@ unputcmdline()
|
|||||||
msg_no_more = TRUE;
|
msg_no_more = TRUE;
|
||||||
if (ccline.cmdlen == ccline.cmdpos)
|
if (ccline.cmdlen == ccline.cmdpos)
|
||||||
msg_putchar(' ');
|
msg_putchar(' ');
|
||||||
|
#ifdef FEAT_MBYTE
|
||||||
|
else if (has_mbyte)
|
||||||
|
draw_cmdline(ccline.cmdpos,
|
||||||
|
(*mb_ptr2len)(ccline.cmdbuff + ccline.cmdpos));
|
||||||
|
#endif
|
||||||
else
|
else
|
||||||
draw_cmdline(ccline.cmdpos, 1);
|
draw_cmdline(ccline.cmdpos, 1);
|
||||||
msg_no_more = FALSE;
|
msg_no_more = FALSE;
|
||||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
539,
|
||||||
/**/
|
/**/
|
||||||
538,
|
538,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user