cmdlgtst fix
Huw D M Davies
h.davies1 at physics.ox.ac.uk
Wed Oct 16 11:41:51 CDT 2002
Fix the ofn flags setup.
-------------- next part --------------
Index: programs/cmdlgtst/cmdlgtst.c
===================================================================
RCS file: /home/wine/wine/programs/cmdlgtst/cmdlgtst.c,v
retrieving revision 1.10
diff -u -r1.10 cmdlgtst.c
--- programs/cmdlgtst/cmdlgtst.c 10 Mar 2002 00:21:18 -0000 1.10
+++ programs/cmdlgtst/cmdlgtst.c 16 Oct 2002 16:42:22 -0000
@@ -654,7 +654,7 @@
{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_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); }
}
More information about the wine-patches
mailing list