Commit 86a0643d authored by Zhangrong Huang's avatar Zhangrong Huang Committed by Alexandre Julliard

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

parent d42a601b
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment