[vlc-commits] playlist: fix node sort comment
Lyndon Brown
git at videolan.org
Sat Mar 3 15:56:07 CET 2018
vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | 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 <remi at remlab.net>
> 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 */
More information about the vlc-commits
mailing list