]> git.sesse.net Git - vlc/commitdiff
input/meta.c: ArtCacheGetSanitizedFileName filter DIR_SEP not '/'.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 22 Aug 2007 16:07:09 +0000 (16:07 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 22 Aug 2007 16:07:09 +0000 (16:07 +0000)
src/input/meta.c

index 017a517693f311791c8eab49a9d5ec815b2a0e8a..0ba8930460926d4d9cfc9af0ab7bc1b76d83e34d 100644 (file)
@@ -255,7 +255,7 @@ static char * ArtCacheGetSanitizedFileName( const char *psz )
      */
     for( i = 0; dup[i] != '\0'; i++ )
     {
-        if( dup[i] == '/' )
+        if( dup[i] == DIR_SEP_CHAR )
             dup[i] = ' ';
     }
     return dup;