msxml3: Use SUCCEEDED instead of !FAILED.

This commit is contained in:
Michael Stefaniuc 2011-10-01 20:31:34 +02:00 committed by Alexandre Julliard
parent 3e59606a3c
commit 718a924f5b

View File

@ -2760,7 +2760,7 @@ static HRESULT WINAPI domdoc_validateNode(
{
hr = SchemaCache_validate_tree(This->properties->schemaCache, get_node_obj(node)->node);
if (!FAILED(hr))
if (SUCCEEDED(hr))
{
++validated;
/* TODO: get a real error code here */