From: Bram Moolenaar Date: Wed, 17 Feb 2010 16:34:43 +0000 (+0100) Subject: updated for version 7.2.365 X-Git-Tag: v7.2.365 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c83ac3d83970bc918fa788b2c820240fca113a5;p=vim updated for version 7.2.365 Problem: MS-Windows with MingW: "File->Save As" does not work. (John Marriott) Solution: Correctly fill in structure size. (Andy Kittner) --- diff --git a/src/gui_w48.c b/src/gui_w48.c index ddaf1fba3..477acfa94 100644 --- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -3345,7 +3345,7 @@ gui_mch_browseW( #ifdef OPENFILENAME_SIZE_VERSION_400 /* be compatible with Windows NT 4.0 */ /* TODO: what to use for OPENFILENAMEW??? */ - fileStruct.lStructSize = sizeof(OPENFILENAME_SIZE_VERSION_400); + fileStruct.lStructSize = OPENFILENAME_SIZE_VERSION_400; #else fileStruct.lStructSize = sizeof(fileStruct); #endif @@ -3506,7 +3506,7 @@ gui_mch_browse( memset(&fileStruct, 0, sizeof(OPENFILENAME)); #ifdef OPENFILENAME_SIZE_VERSION_400 /* be compatible with Windows NT 4.0 */ - fileStruct.lStructSize = sizeof(OPENFILENAME_SIZE_VERSION_400); + fileStruct.lStructSize = OPENFILENAME_SIZE_VERSION_400; #else fileStruct.lStructSize = sizeof(fileStruct); #endif diff --git a/src/version.c b/src/version.c index 15a870d1a..0b4206e48 100644 --- a/src/version.c +++ b/src/version.c @@ -681,6 +681,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 365, /**/ 364, /**/