[vlc-commits] skins2: fix typo following a recent change in playlist.

Erwan Tulou git at videolan.org
Fri Dec 9 21:53:23 CET 2016


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Fri Dec  9 21:12:32 2016 +0100| [a3ab7ff0d9330cb9047a4cf0b4ac75432af12408] | committer: Erwan Tulou

skins2: fix typo following a recent change in playlist.

This caused the skin engine to fail to refresh on the spot when new items
were added to the playlist.

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

 modules/gui/skins2/vars/playtree.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/skins2/vars/playtree.cpp b/modules/gui/skins2/vars/playtree.cpp
index 5dc8c1a..90012db 100644
--- a/modules/gui/skins2/vars/playtree.cpp
+++ b/modules/gui/skins2/vars/playtree.cpp
@@ -210,7 +210,7 @@ void Playtree::onAppend( int i_id )
     }
 
     Iterator it_node = findById( pItem->p_parent->i_id );
-    if( it_node != m_children.end() )
+    if( it_node == m_children.end() )
     {
         playlist_Unlock( m_pPlaylist );
         return;



More information about the vlc-commits mailing list