Michael Stefaniuc : msxml3: Use SUCCEEDED instead of !FAILED.

Alexandre Julliard julliard at winehq.org
Mon Oct 3 17:21:24 CDT 2011


Module: wine
Branch: master
Commit: 718a924f5b8c8f19bc6538a6caf69ab409db07e8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=718a924f5b8c8f19bc6538a6caf69ab409db07e8

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Sat Oct  1 20:31:34 2011 +0200

msxml3: Use SUCCEEDED instead of !FAILED.

---

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

diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index d4fcc1c..2eedc78 100644
--- a/dlls/msxml3/domdoc.c
+++ b/dlls/msxml3/domdoc.c
@@ -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 */




More information about the wine-cvs mailing list