Zhangrong Huang : msxml3/test: Fix a typo in test node_to_string().

Alexandre Julliard julliard at winehq.org
Thu Jul 3 06:35:48 CDT 2008


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

Author: Zhangrong Huang <hzhrong at gmail.com>
Date:   Thu Jul  3 00:18:48 2008 +0800

msxml3/test: Fix a typo in test node_to_string().

---

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

diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index 3817d8e..75cb605 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -332,7 +332,7 @@ static void node_to_string(IXMLDOMNode *node, char *buf)
             /* currently wine doesn't create a node for the <?xml ... ?>. To be able to test query
              * results we "fix" it */
             if (r == S_OK)
-                ole_check(IXMLDOMNode_get_nodeType(node, &parent_type));
+                ole_check(IXMLDOMNode_get_nodeType(new_node, &parent_type));
             /* we need also to workaround the no document node problem - see below */
             if (((r == S_FALSE && type != NODE_DOCUMENT) || parent_type == NODE_DOCUMENT) && type != NODE_PROCESSING_INSTRUCTION && pos==1)
             {




More information about the wine-cvs mailing list