0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

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)
This commit is contained in:
Bram Moolenaar
2010-02-17 17:34:43 +01:00
parent 175aa24846
commit 8c83ac3d83
2 changed files with 4 additions and 2 deletions

View File

@@ -3345,7 +3345,7 @@ gui_mch_browseW(
#ifdef OPENFILENAME_SIZE_VERSION_400 #ifdef OPENFILENAME_SIZE_VERSION_400
/* be compatible with Windows NT 4.0 */ /* be compatible with Windows NT 4.0 */
/* TODO: what to use for OPENFILENAMEW??? */ /* TODO: what to use for OPENFILENAMEW??? */
fileStruct.lStructSize = sizeof(OPENFILENAME_SIZE_VERSION_400); fileStruct.lStructSize = OPENFILENAME_SIZE_VERSION_400;
#else #else
fileStruct.lStructSize = sizeof(fileStruct); fileStruct.lStructSize = sizeof(fileStruct);
#endif #endif
@@ -3506,7 +3506,7 @@ gui_mch_browse(
memset(&fileStruct, 0, sizeof(OPENFILENAME)); memset(&fileStruct, 0, sizeof(OPENFILENAME));
#ifdef OPENFILENAME_SIZE_VERSION_400 #ifdef OPENFILENAME_SIZE_VERSION_400
/* be compatible with Windows NT 4.0 */ /* be compatible with Windows NT 4.0 */
fileStruct.lStructSize = sizeof(OPENFILENAME_SIZE_VERSION_400); fileStruct.lStructSize = OPENFILENAME_SIZE_VERSION_400;
#else #else
fileStruct.lStructSize = sizeof(fileStruct); fileStruct.lStructSize = sizeof(fileStruct);
#endif #endif

View File

@@ -681,6 +681,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
365,
/**/ /**/
364, 364,
/**/ /**/