vlc | branch: master | Lyndon Brown <[email protected]> | Mon Feb 26 18:40:35 2018 +0000| [25324fe4725096181a9242ee42fbcf8bbbd60315] | committer: Rémi Denis-Courmont
playlist: fix node sort comment Signed-off-by: Rémi Denis-Courmont <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=25324fe4725096181a9242ee42fbcf8bbbd60315 --- src/playlist/sort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/playlist/sort.c b/src/playlist/sort.c index c0982cd133..4cc592d2f5 100644 --- a/src/playlist/sort.c +++ b/src/playlist/sort.c @@ -296,10 +296,10 @@ SORTFN( SORT_TITLE, first, second ) SORTFN( SORT_TITLE_NODES_FIRST, first, second ) { - /* If first is a node but not second */ + /* If second is a node but not first */ if( first->i_children == -1 && second->i_children >= 0 ) return -1; - /* If second is a node but not first */ + /* If first is a node but not second */ else if( first->i_children >= 0 && second->i_children == -1 ) return 1; /* Both are nodes or both are not nodes */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
