Fix the BrowseForFolder dialog so that when it does the callbacks it

uses the correct message instead of always sending BEFM_INITIALIZED.
This commit is contained in:
Aric Stewart 2005-06-27 18:46:47 +00:00 committed by Alexandre Julliard
parent ad6bac918c
commit b152076d3b
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ static void browsefolder_callback( LPBROWSEINFOW lpBrowseInfo, HWND hWnd,
{ {
if (!lpBrowseInfo->lpfn) if (!lpBrowseInfo->lpfn)
return; return;
lpBrowseInfo->lpfn( hWnd, BFFM_INITIALIZED, param, lpBrowseInfo->lParam ); lpBrowseInfo->lpfn( hWnd, msg, param, lpBrowseInfo->lParam );
} }
/****************************************************************************** /******************************************************************************