diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-02-17 17:34:43 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-02-17 17:34:43 +0100 |
commit | 8c83ac3d83970bc918fa788b2c820240fca113a5 (patch) | |
tree | 36070a7fede64dcd3e4c6501b4d656c78ce46aca /src/gui_w48.c | |
parent | 175aa248463caa78677495440901e6e9504066fc (diff) | |
download | vim-git-8c83ac3d83970bc918fa788b2c820240fca113a5.tar.gz |
updated for version 7.2.365v7.2.365
Problem: MS-Windows with MingW: "File->Save As" does not work. (John
Marriott)
Solution: Correctly fill in structure size. (Andy Kittner)
Diffstat (limited to 'src/gui_w48.c')
-rw-r--r-- | src/gui_w48.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |