Commit 316183d8 authored by bitplane's avatar bitplane

Oops, typo in GUIEditor



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3547 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 67fdef56
......@@ -132,7 +132,7 @@ CGUIAttributeEditor* CGUIEditWindow::getOptionEditor() const
IGUITreeViewNode* CGUIEditWindow::getTreeNode(IGUIElement* element, IGUITreeViewNode* searchnode)
{
IGUITreeViewNode* child = searchnode->getFirstChild();
while (!child)
while (child)
{
if (((IGUIElement*) child->getData()) == element)
return child;
......
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