mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 7.4.1575
Problem: Using wrong size for struct. Solution: Use the size for wide API. (Ken Takata)
This commit is contained in:
@@ -3682,10 +3682,9 @@ gui_mch_browseW(
|
|||||||
filterp = convert_filterW(filter);
|
filterp = convert_filterW(filter);
|
||||||
|
|
||||||
vim_memset(&fileStruct, 0, sizeof(OPENFILENAMEW));
|
vim_memset(&fileStruct, 0, sizeof(OPENFILENAMEW));
|
||||||
#ifdef OPENFILENAME_SIZE_VERSION_400
|
#ifdef OPENFILENAME_SIZE_VERSION_400W
|
||||||
/* be compatible with Windows NT 4.0 */
|
/* be compatible with Windows NT 4.0 */
|
||||||
/* TODO: what to use for OPENFILENAMEW??? */
|
fileStruct.lStructSize = OPENFILENAME_SIZE_VERSION_400W;
|
||||||
fileStruct.lStructSize = OPENFILENAME_SIZE_VERSION_400;
|
|
||||||
#else
|
#else
|
||||||
fileStruct.lStructSize = sizeof(fileStruct);
|
fileStruct.lStructSize = sizeof(fileStruct);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -743,6 +743,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 */
|
||||||
|
/**/
|
||||||
|
1575,
|
||||||
/**/
|
/**/
|
||||||
1574,
|
1574,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user