Patch 7.4.1575
Problem: Using wrong size for struct.
Solution: Use the size for wide API. (Ken Takata)
Files: src/gui_w32.c
*** ../vim-7.4.1574/src/gui_w32.c 2016-02-27 18:13:05.236593109 +0100
--- src/gui_w32.c 2016-03-15 18:06:35.891645179 +0100
***************
*** 3682,3691 ****
filterp = convert_filterW(filter);
vim_memset(&fileStruct, 0, sizeof(OPENFILENAMEW));
! #ifdef OPENFILENAME_SIZE_VERSION_400
/* be compatible with Windows NT 4.0 */
! /* TODO: what to use for OPENFILENAMEW??? */
! fileStruct.lStructSize = OPENFILENAME_SIZE_VERSION_400;
#else
fileStruct.lStructSize = sizeof(fileStruct);
#endif
--- 3682,3690 ----
filterp = convert_filterW(filter);
vim_memset(&fileStruct, 0, sizeof(OPENFILENAMEW));
! #ifdef OPENFILENAME_SIZE_VERSION_400W
/* be compatible with Windows NT 4.0 */
! fileStruct.lStructSize = OPENFILENAME_SIZE_VERSION_400W;
#else
fileStruct.lStructSize = sizeof(fileStruct);
#endif
*** ../vim-7.4.1574/src/version.c 2016-03-15 17:43:51.633786581 +0100
--- src/version.c 2016-03-15 18:07:41.178968552 +0100
***************
*** 745,746 ****
--- 745,748 ----
{ /* Add new patch number below this line */
+ /**/
+ 1575,
/**/
--
CVS sux, men don't like commitment
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.