From 2dcc6f0fc9323a76d425a88d675c47e8d111b3ba Mon Sep 17 00:00:00 2001 From: Huw D M Davies Date: Wed, 16 Oct 2002 18:58:21 +0000 Subject: [PATCH] Fix the ofn flags setup. --- programs/cmdlgtst/cmdlgtst.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/cmdlgtst/cmdlgtst.c b/programs/cmdlgtst/cmdlgtst.c index e5d85b0f712..ad00750f00f 100644 --- a/programs/cmdlgtst/cmdlgtst.c +++ b/programs/cmdlgtst/cmdlgtst.c @@ -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); } }