Fix return code abuse.

This commit is contained in:
Mike Hearn 2005-05-12 09:56:17 +00:00 committed by Alexandre Julliard
parent 9bd101d012
commit 30428b5a35
1 changed files with 2 additions and 1 deletions

View File

@ -776,7 +776,8 @@ HRESULT WINAPI IShellBrowserImpl_ICommDlgBrowser_OnDefaultCommand(ICommDlgBrowse
else
{
/* Tell the dialog that the user selected a file */
hRes = PostMessageA(This->hwndOwner, WM_COMMAND, IDOK, 0L);
PostMessageA(This->hwndOwner, WM_COMMAND, IDOK, 0L);
hRes = S_OK;
}
/* Free memory used by pidl */