Commit fbbabca1 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

commdlg: Set lCustData the same in GetSaveFileName as GetOpenFileName.

parent e8d849ef
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment