Commit 2dcc6f0f authored by Huw D M Davies's avatar Huw D M Davies Committed by Alexandre Julliard

Fix the ofn flags setup.

parent b44822a4
......@@ -654,7 +654,7 @@ BOOL CALLBACK mwcd_FileSetup(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{IDOK, 0},
};
return mwcd_Setup(hWnd, uMsg, wParam, lParam, flagTable, &pd.Flags);
return mwcd_Setup(hWnd, uMsg, wParam, lParam, flagTable, &ofn.Flags);
}
BOOL CALLBACK mwcd_About(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
......@@ -702,7 +702,7 @@ void mwc_PrintSetup(HWND hWnd)
void mwc_FileSetup(HWND hWnd)
{
int r = DialogBox(g_hInstance, "File_Flags_Dialog", hWnd, (DLGPROC) mwcd_PrintSetup);
int r = DialogBox(g_hInstance, "File_Flags_Dialog", hWnd, (DLGPROC) mwcd_FileSetup);
if(r < 0) { MessageBox(hWnd, "Failure opening File_Flags_Dialog box", "Error", MB_ICONASTERISK|MB_OK); }
}
......
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