summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2011-09-30 17:46:21 +0200
committerBram Moolenaar <bram@vim.org>2011-09-30 17:46:21 +0200
commit3cde658cc48316efc8432a2b194ede546f26b4a0 (patch)
tree2ebc53210cdd3585de60f3005700d447e37d9d56
parentb2c5325cc34303d089f002556621805ed4a740e9 (diff)
downloadvim-3cde658cc48316efc8432a2b194ede546f26b4a0.tar.gz
updated for version 7.3.328v7.3.328v7-3-328
Problem: When command line wraps the cursor may be displayed wrong when there are multi-byte characters. Solution: Position the cursor before drawing the text. (Yasuhiro Matsumoto)
-rw-r--r--src/ex_getln.c1
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index da03a049..97c122da 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -2870,6 +2870,7 @@ put_on_cmdline(str, len, redraw)
{
msg_no_more = TRUE;
i = cmdline_row;
+ cursorcmd();
draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
/* Avoid clearing the rest of the line too often. */
if (cmdline_row != i || ccline.overstrike)
diff --git a/src/version.c b/src/version.c
index cca3eada..3aa358f5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -710,6 +710,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 328,
+/**/
327,
/**/
326,