]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-250 v7.2.250
authorBram Moolenaar <Bram@vim.org>
Fri, 11 Sep 2009 11:26:56 +0000 (11:26 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 11 Sep 2009 11:26:56 +0000 (11:26 +0000)
src/GvimExt/gvimext.cpp
src/version.c

index d317e2fff54ffd75511fbf2bb9c0f3a8f5a0622f..71d180ef91a40e3594984a9de369e2f0dd014b00 100644 (file)
@@ -635,7 +635,9 @@ STDMETHODIMP CShellExt::QueryContextMenu(HMENU hMenu,
        }
        // Now concatenate
        strncpy(temp, _("Edit with existing Vim - "), BUFSIZE - 1);
-       strncat(temp, title, BUFSIZE - 1);
+       temp[BUFSIZE - 1] = '\0';
+       strncat(temp, title, BUFSIZE - 1 - strlen(temp));
+       temp[BUFSIZE - 1] = '\0';
        InsertMenu(hMenu,
                indexMenu++,
                MF_STRING|MF_BYPOSITION,
index 30b7759fb4336918a841b67ba27059d5306b8a61..b0318481c98751ee306941b07c0d65eee07cbcba 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    250,
 /**/
     249,
 /**/