mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
[SHELL32] CShellItem: Fix return value of Compare method
This commit is contained in:
parent
c361e475b4
commit
af97de39a2
1 changed files with 6 additions and 2 deletions
|
@ -199,9 +199,13 @@ HRESULT WINAPI CShellItem::Compare(IShellItem *oth, SICHINTF hint, int *piOrder)
|
|||
}
|
||||
}
|
||||
|
||||
if (SUCCEEDED(hr))
|
||||
if(FAILED(hr))
|
||||
return hr;
|
||||
|
||||
if(*piOrder)
|
||||
return S_FALSE;
|
||||
else
|
||||
return S_OK;
|
||||
return hr;
|
||||
}
|
||||
|
||||
HRESULT WINAPI CShellItem::GetClassID(CLSID *pClassID)
|
||||
|
|
Loading…
Reference in a new issue