Commit 54e2e516 authored by Erwan Tulou's avatar Erwan Tulou

skins2: playlist (missing parentheses)

parent 41f42043
......@@ -627,7 +627,7 @@ void CtrlTree::handleEvent( EvtGeneric &rEvent )
}
}
iFirst += maxItems();
if( iFirst >= m_flat ? m_rTree.countLeafs() : m_rTree.visibleItems() )
if( iFirst >= (m_flat ? m_rTree.countLeafs() : m_rTree.visibleItems()) )
iFirst = m_flat ? m_rTree.countLeafs() : m_rTree.visibleItems();
float f_new = (float)iFirst / (float)( m_flat ? m_rTree.countLeafs()
:m_rTree.visibleItems() );
......
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