Mercurial > vim
changeset 2081:7b0e89b77216 v7.2.365
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)
author | Bram Moolenaar <bram@zimbu.org> |
---|---|
date | Wed, 17 Feb 2010 17:34:43 +0100 |
parents | fa7e62dd58d7 |
children | 8ca3c9ad0bee |
files | src/gui_w48.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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