Commit 6ed51aea authored by Pavel Vaynerman's avatar Pavel Vaynerman Committed by Pavel Vainerman

(UniXML): исправил ошибку в iterator::find(). Искать нужно "в глубь" и "в ширь",…

(UniXML): исправил ошибку в iterator::find(). Искать нужно "в глубь" и "в ширь", но не "по всему дереву"(вверх).
parent bc185fd2
...@@ -443,11 +443,6 @@ bool UniXML_iterator::find( const std::string searchnode ) ...@@ -443,11 +443,6 @@ bool UniXML_iterator::find( const std::string searchnode )
return true; return true;
} }
while(!curNode->next && curNode->parent)
{
curNode=curNode->parent;
}
curNode=curNode->next; curNode=curNode->next;
if ( curNode && searchnode == (const char*)curNode->name ) if ( curNode && searchnode == (const char*)curNode->name )
......
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