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

oldstable
Zhangrong Huang 2008-07-03 00:18:48 +08:00 committed by Alexandre Julliard
parent d42a601b52
commit 86a0643df8
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{