Commit 4f54142e authored by Olivier Teulière's avatar Olivier Teulière

* skins2/controls/ctrl_tree.cpp: I forgot 1 occurrence of the bug

parent efad303f
......@@ -792,7 +792,7 @@ void CtrlTree::makeImage()
{
it = m_flat ? m_rTree.getNextLeaf( it )
: m_rTree.getNextVisibleItem( it );
} while( it->m_deleted );
} while( it != m_rTree.end() && it->m_deleted );
}
else
{
......@@ -856,7 +856,8 @@ void CtrlTree::makeImage()
yPos += (pText->getHeight() - ySrc );
delete pText;
}
do {
do
{
it = m_flat ? m_rTree.getNextLeaf( it )
: m_rTree.getNextVisibleItem( it );
} while( it != m_rTree.end() && it->m_deleted );
......
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