[PATCH 0/1] MR4137: commdlg: Set lCustData the same in GetSaveFileName as GetOpenFileName.
Fixes: 691c7775d11f9f62c363aa419d00eee1e8d7da55 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4137
From: Alex Henrie <alexhenrie24(a)gmail.com> Fixes: 691c7775d11f9f62c363aa419d00eee1e8d7da55 --- dlls/commdlg.dll16/filedlg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/commdlg.dll16/filedlg.c b/dlls/commdlg.dll16/filedlg.c index 33feda55ca3..62af940e754 100644 --- a/dlls/commdlg.dll16/filedlg.c +++ b/dlls/commdlg.dll16/filedlg.c @@ -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) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4137
participants (2)
-
Alex Henrie -
Alex Henrie (@alexhenrie)