dxdiagn: Use FAILED instead of !SUCCEEDED.

Michael Stefaniuc mstefani at redhat.de
Tue Oct 7 18:36:09 CDT 2008


---
 dlls/dxdiagn/container.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/dxdiagn/container.c b/dlls/dxdiagn/container.c
index c4278b1..23245ae 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;
-- 
1.6.0.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081008/d77151a4/attachment.pgp 


More information about the wine-patches mailing list