cmdlgtst fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



        Fix the ofn flags setup.
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); }
 }
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux