XMLTreeNode::AddNode: fix logic error (in unused branch)

Origin commit data
------------------
Commit: 1b8e5c0445
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-01-09 (Thu, 09 Jan 2014)
This commit is contained in:
Stefan Seyfried
2014-01-09 14:57:18 +01:00
parent ec4333edb9
commit accfd2f2d8

View File

@@ -246,7 +246,7 @@ void XMLTreeNode::AddNode(XMLTreeNode *node, addmode mode)
{ {
case ADD_NEIGHBOUR: case ADD_NEIGHBOUR:
n=this; n=this;
break;
case ADD_CHILD: case ADD_CHILD:
n=child; n=child;
} }