]> git.sesse.net Git - vlc/commitdiff
skin2: var_tree (add a forgotten return)
authorErwan Tulou <erwan10@videolan.org>
Thu, 5 Aug 2010 14:16:23 +0000 (16:16 +0200)
committerErwan Tulou <erwan10@videolan.org>
Thu, 5 Aug 2010 14:33:16 +0000 (16:33 +0200)
modules/gui/skins2/utils/var_tree.cpp

index a7454e5847514b80de34051248d59f022b358526..9d71575f6dd0f980a42e76f7fc66aa7589650779 100644 (file)
@@ -121,6 +121,7 @@ VarTree::Iterator VarTree::getNextSibling( VarTree::Iterator current )
         if( it != p_parent->end() )
         {
             it++;
+            return it;
         }
         return root()->end();
     }