From 7fe70f2c2b201f311c56b66f9d1c3d037a7031e6 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Wed, 8 Oct 2008 01:36:09 +0200 Subject: [PATCH] dxdiagn: Use FAILED instead of !SUCCEEDED. --- dlls/dxdiagn/container.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dxdiagn/container.c b/dlls/dxdiagn/container.c index c4278b12e66..23245aeee41 100644 --- a/dlls/dxdiagn/container.c +++ b/dlls/dxdiagn/container.c @@ -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; -- 2.11.4.GIT