[vlc-commits] commit: skins2: playlist (missing parentheses) (Erwan Tulou )

git at videolan.org git at videolan.org
Thu Aug 5 16:32:57 CEST 2010


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Thu Aug  5 16:05:58 2010 +0200| [54e2e5162cb8eb2fe4717ed6abe8b7ec6e5fc69e] | committer: Erwan Tulou 

skins2: playlist (missing parentheses)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=54e2e5162cb8eb2fe4717ed6abe8b7ec6e5fc69e
---

 modules/gui/skins2/controls/ctrl_tree.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/skins2/controls/ctrl_tree.cpp b/modules/gui/skins2/controls/ctrl_tree.cpp
index 34c2930..c31962c 100644
--- a/modules/gui/skins2/controls/ctrl_tree.cpp
+++ b/modules/gui/skins2/controls/ctrl_tree.cpp
@@ -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() );



More information about the vlc-commits mailing list