mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
oleaut32/tests: Use FAILED instead of !SUCCEEDED.
This commit is contained in:
parent
64f2dad598
commit
a2e5b50711
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue