]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.328 v7.3.328
authorBram Moolenaar <Bram@vim.org>
Fri, 30 Sep 2011 15:46:21 +0000 (17:46 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 30 Sep 2011 15:46:21 +0000 (17:46 +0200)
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)

src/ex_getln.c
src/version.c

index da03a0494f0adaec4dcbd757f78519c5665bbc41..97c122da7669000a30d969bb3ae929955fdd5e75 100644 (file)
@@ -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)
index cca3eada8bed0cf40399ad9ccdde12ee7527943d..3aa358f57218cca370be42e8926bf205f0510b39 100644 (file)
@@ -709,6 +709,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    328,
 /**/
     327,
 /**/