[PATCH] lparam for find/replace wm_initdialog
gerard patel
gerard.patel at asi.fr
Wed Mar 7 15:51:12 CST 2001
ChangeLog:
* dlls/commdlg/finddlg32.c
LPARAM in find dialog wm_initdialog is the find/replace structure, not custdata
-------------- next part --------------
Index: dlls/commdlg/finddlg32.c
===================================================================
RCS file: /home/wine/wine/dlls/commdlg/finddlg32.c,v
retrieving revision 1.14
diff -u -r1.14 finddlg32.c
--- dlls/commdlg/finddlg32.c 2001/01/26 20:43:42 1.14
+++ dlls/commdlg/finddlg32.c 2001/03/07 21:46:09
@@ -219,7 +219,7 @@
/* We do not do ShowWindow if hook exists and is FALSE */
/* per MSDN Article Q96135 */
if((pdata->fr.Flags & FR_ENABLEHOOK)
- && ! pdata->fr.lpfnHook(hDlgWnd, iMsg, wParam, pdata->fr.lCustData))
+ && ! pdata->fr.lpfnHook(hDlgWnd, iMsg, wParam, (LPARAM) &pdata->fr))
return TRUE;
ShowWindow(hDlgWnd, SW_SHOWNORMAL);
UpdateWindow(hDlgWnd);
-------------- next part --------------
More information about the wine-patches
mailing list