mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
commdlg: Set the nt40 version size.
This commit is contained in:
parent
37975ba776
commit
ac347c7e40
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ BOOL16 WINAPI GetOpenFileName16( SEGPTR ofn ) /* [in/out] address of structure w
|
||||||
|
|
||||||
if (!lpofn) return FALSE;
|
if (!lpofn) return FALSE;
|
||||||
|
|
||||||
ofn32.lStructSize = sizeof(ofn32);
|
ofn32.lStructSize = OPENFILENAME_SIZE_VERSION_400A;
|
||||||
ofn32.hwndOwner = HWND_32( lpofn->hwndOwner );
|
ofn32.hwndOwner = HWND_32( lpofn->hwndOwner );
|
||||||
ofn32.lpstrFilter = MapSL( lpofn->lpstrFilter );
|
ofn32.lpstrFilter = MapSL( lpofn->lpstrFilter );
|
||||||
ofn32.lpstrCustomFilter = MapSL( lpofn->lpstrCustomFilter );
|
ofn32.lpstrCustomFilter = MapSL( lpofn->lpstrCustomFilter );
|
||||||
|
@ -126,7 +126,7 @@ BOOL16 WINAPI GetSaveFileName16( SEGPTR ofn ) /* [in/out] address of structure w
|
||||||
|
|
||||||
if (!lpofn) return FALSE;
|
if (!lpofn) return FALSE;
|
||||||
|
|
||||||
ofn32.lStructSize = sizeof(ofn32);
|
ofn32.lStructSize = OPENFILENAME_SIZE_VERSION_400A;
|
||||||
ofn32.hwndOwner = HWND_32( lpofn->hwndOwner );
|
ofn32.hwndOwner = HWND_32( lpofn->hwndOwner );
|
||||||
ofn32.lpstrFilter = MapSL( lpofn->lpstrFilter );
|
ofn32.lpstrFilter = MapSL( lpofn->lpstrFilter );
|
||||||
ofn32.lpstrCustomFilter = MapSL( lpofn->lpstrCustomFilter );
|
ofn32.lpstrCustomFilter = MapSL( lpofn->lpstrCustomFilter );
|
||||||
|
|
Loading…
Reference in a new issue