From 86a0643df8fa4ae1053578eb7ea2035056b0a51b Mon Sep 17 00:00:00 2001 From: Zhangrong Huang Date: Thu, 3 Jul 2008 00:18:48 +0800 Subject: [PATCH] msxml3/test: Fix a typo in test node_to_string(). --- dlls/msxml3/tests/domdoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c index 3817d8e3a72..75cb60557d7 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 . 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) {