comdlg: Send missing CDN_FOLDERCHANGE (resend 2)

Alexandre Julliard julliard at winehq.org
Wed Aug 23 11:29:38 CDT 2006


"Renu Rajput" <renu.rajput at gmail.com> writes:

> diff -urN OldDir/dlls/comdlg32/filedlg.c NewDir/dlls/comdlg32/filedlg.c
> --- OldDir/dlls/comdlg32/filedlg.c 2006-08-10 18:45:12.000000000 +0530
> +++ NewDir/dlls/comdlg32/filedlg.c 2006-08-11 16:09:32.000000000 +0530
> @@ -2011,7 +2011,10 @@
> IPersistFolder2_Release(ppf2);
> if( ! COMDLG32_PIDL_ILIsEqual(pidlCurrent, fodInfos->ShellInfos.pidlAbsCurrent))
> {
> - IShellBrowser_BrowseObject(fodInfos->Shell.FOIShellBrowser,
> pidlCurrent, SBSP_ABSOLUTE);
> + if (SUCCEEDED(IShellBrowser_BrowseObject(fodInfos->Shell.FOIShellBrowser,
> pidlCurrent, SBSP_ABSOLUTE)))
> + {
> + SendCustomDlgNotificationMessage(hwnd, CDN_FOLDERCHANGE);
> + }
> }
> else if( nOpenAction == ONOPEN_SEARCH )

There's no point in sending a (corrupted) inline version of the patch
plus another one as attachment, all it does is prevent the patch from
being applied. Please send only one instance of the patch, in a
non-corrupted format.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list