]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-076 v7.1.076
authorBram Moolenaar <Bram@vim.org>
Tue, 14 Aug 2007 20:54:49 +0000 (20:54 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 14 Aug 2007 20:54:49 +0000 (20:54 +0000)
src/ex_docmd.c
src/normal.c
src/version.c

index f12f12e537a5c7c53b9cc2cb79cdc5fc85b426e9..5e6379197edc301a47675e32191d55bf0e05c873 100644 (file)
@@ -4493,7 +4493,8 @@ separate_nextcmd(eap)
            if (eap->argt & (USECTRLV | XFILE))
                ++p;            /* skip CTRL-V and next char */
            else
-               STRCPY(p, p + 1);       /* remove CTRL-V and skip next char */
+                               /* remove CTRL-V and skip next char */
+               mch_memmove(p, p + 1, STRLEN(p));
            if (*p == NUL)              /* stop at NUL after CTRL-V */
                break;
        }
index 000d2e126911fa9bb06cbb19fdb0fe1a8ce50efe..62b5f8c8319276bc7c8a59709684238708a1f8ff 100644 (file)
@@ -3760,7 +3760,8 @@ add_to_showcmd(c)
     extra_len = (int)STRLEN(p);
     overflow = old_len + extra_len - SHOWCMD_COLS;
     if (overflow > 0)
-       STRCPY(showcmd_buf, showcmd_buf + overflow);
+       mch_memmove(showcmd_buf, showcmd_buf + overflow,
+                                                     old_len - overflow + 1);
     STRCAT(showcmd_buf, p);
 
     if (char_avail())
index 1f98a3b6e5d423db325204fb6946b573c7630104..7ef033760ef6b35d5bf1dea3b30ae316203c59ab 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    76,
 /**/
     75,
 /**/