Fix return code abuse.
This commit is contained in:
parent
9bd101d012
commit
30428b5a35
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue