use correct message in callback of browsefolder

Aric Stewart aric at codeweavers.com
Mon Jun 27 11:38:11 CDT 2005


Fix the BrowseForFolder dialog so that when it does the callbacks it 
uses the correct message instead of always sending BEFM_INITIALIZED
-------------- next part --------------
Index: dlls/shell32/brsfolder.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/brsfolder.c,v
retrieving revision 1.61
diff -u -r1.61 brsfolder.c
--- dlls/shell32/brsfolder.c	6 Jun 2005 10:04:15 -0000	1.61
+++ dlls/shell32/brsfolder.c	27 Jun 2005 16:36:31 -0000
@@ -80,7 +80,7 @@
 {
     if (!lpBrowseInfo->lpfn)
         return;
-    lpBrowseInfo->lpfn( hWnd, BFFM_INITIALIZED, param, lpBrowseInfo->lParam );
+    lpBrowseInfo->lpfn( hWnd, msg, param, lpBrowseInfo->lParam );
 }
 
 /******************************************************************************


More information about the wine-patches mailing list