mirror of
https://github.com/reactos/wine.git
synced 2025-01-23 12:25:17 +00:00
dxdiagn: Use FAILED instead of !SUCCEEDED.
This commit is contained in:
parent
15e5f6844a
commit
7fe70f2c2b
@ -150,7 +150,7 @@ static HRESULT WINAPI IDxDiagContainerImpl_GetChildContainer(PDXDIAGCONTAINER if
|
||||
while (NULL != cur) {
|
||||
*cur = '\0'; /* cut tmp string to '.' */
|
||||
hr = IDxDiagContainerImpl_GetChildContainerInternal(pContainer, tmp, &pContainer);
|
||||
if (!SUCCEEDED(hr) || NULL == pContainer)
|
||||
if (FAILED(hr) || NULL == pContainer)
|
||||
goto on_error;
|
||||
cur++; /* go after '.' (just replaced by \0) */
|
||||
tmp = cur;
|
||||
|
Loading…
x
Reference in New Issue
Block a user