Michael Stefaniuc : oleaut32/tests: Use FAILED instead of !SUCCEEDED.
Alexandre Julliard
julliard at winehq.org
Mon Sep 26 16:15:08 CDT 2011
Module: wine
Branch: master
Commit: a2e5b5071140c04e32496b900cac213a2763b9e2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a2e5b5071140c04e32496b900cac213a2763b9e2
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Sun Sep 25 23:31:20 2011 +0200
oleaut32/tests: Use FAILED instead of !SUCCEEDED.
---
dlls/oleaut32/tests/tmarshal.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/tests/tmarshal.c b/dlls/oleaut32/tests/tmarshal.c
index c2fa3b4..8161689 100644
--- a/dlls/oleaut32/tests/tmarshal.c
+++ b/dlls/oleaut32/tests/tmarshal.c
@@ -495,12 +495,12 @@ static HRESULT WINAPI Widget_VariantCArray(
for (i = 0; i < count; i++) {
VariantInit(&res);
hr = VarAdd(&values[i], &inc, &res);
- if (!SUCCEEDED(hr)) {
+ if (FAILED(hr)) {
ok(0, "VarAdd failed at %u with error 0x%x\n", i, hr);
return hr;
}
hr = VariantCopy(&values[i], &res);
- if (!SUCCEEDED(hr)) {
+ if (FAILED(hr)) {
ok(0, "VariantCopy failed at %u with error 0x%x\n", i, hr);
return hr;
}
More information about the wine-cvs
mailing list