fix incorrect factoring

This commit is contained in:
Lee Thomason 2017-06-16 09:30:16 -07:00
parent bc527554e8
commit 8a763619ac
1 changed files with 2 additions and 2 deletions

View File

@ -809,12 +809,12 @@ void XMLNode::Unlink( XMLNode* child )
if ( child->_prev ) {
child->_prev->_next = child->_next;
child->_prev = 0;
}
if ( child->_next ) {
child->_next->_prev = child->_prev;
child->_next = 0;
}
child->_next = 0;
child->_prev = 0;
child->_parent = 0;
}