mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-21 17:09:06 -07:00
commdlg: Set lCustData the same in GetSaveFileName as GetOpenFileName.
Fixes: 691c7775d1
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55715
This commit is contained in:
parent
e8d849efce
commit
fbbabca177
Notes:
Alexandre Julliard
2023-10-19 23:28:34 +02:00
Approved-by: Huw Davies (@huw) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/wine/-/merge_requests/4137
1 changed files with 1 additions and 1 deletions
|
@ -664,7 +664,7 @@ BOOL16 WINAPI GetSaveFileName16( SEGPTR ofn ) /* [in/out] address of structure w
|
|||
ofn32.nFileOffset = lpofn->nFileOffset;
|
||||
ofn32.nFileExtension = lpofn->nFileExtension;
|
||||
ofn32.lpstrDefExt = MapSL( lpofn->lpstrDefExt );
|
||||
ofn32.lCustData = lpofn->lCustData;
|
||||
ofn32.lCustData = ofn; /* See WM_INITDIALOG in the hook proc */
|
||||
ofn32.lpfnHook = dummy_hook; /* this is to force old 3.1 dialog style */
|
||||
|
||||
if (lpofn->Flags & OFN_ENABLETEMPLATE)
|
||||
|
|
Loading…
Reference in a new issue