Commit 2b7c30bd authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

input/meta.c: ArtCacheGetSanitizedFileName filter DIR_SEP not '/'.

parent ebbc708d
...@@ -255,7 +255,7 @@ static char * ArtCacheGetSanitizedFileName( const char *psz ) ...@@ -255,7 +255,7 @@ static char * ArtCacheGetSanitizedFileName( const char *psz )
*/ */
for( i = 0; dup[i] != '\0'; i++ ) for( i = 0; dup[i] != '\0'; i++ )
{ {
if( dup[i] == '/' ) if( dup[i] == DIR_SEP_CHAR )
dup[i] = ' '; dup[i] = ' ';
} }
return dup; return dup;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment