[vlc-devel] commit: Fix a little bug in the playlist sorting. ( Rémi Duraffort )

git version control git at videolan.org
Tue Mar 4 12:33:18 CET 2008


vlc | branch: master | Rémi Duraffort <ivoire at via.ecp.fr> | Tue Mar  4 12:32:05 2008 +0100| [983312cb0a0e331629b9f0e67a982d433465ec71]

Fix a little bug in the playlist sorting.

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

 src/playlist/sort.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/playlist/sort.c b/src/playlist/sort.c
index c6ddbd8..620f3d6 100644
--- a/src/playlist/sort.c
+++ b/src/playlist/sort.c
@@ -144,7 +144,7 @@ static int playlist_ItemArraySort( playlist_t *p_playlist, int i_items,
     } \
     else \
     { \
-        i_test = strcmp( psz_b, psz_a ); \
+        i_test = strcmp( psz_a, psz_b ); \
     } \
     free( psz_a ); \
     free( psz_b ); \




More information about the vlc-devel mailing list