Commit eb2afbaa authored by Antoine Cellerier's avatar Antoine Cellerier

* subtitles.c: case insensitive search for subtitle file extensions.

parent c5240c9a
......@@ -165,7 +165,7 @@ int subtitles_Filter( const char *psz_dir_content )
tmp++;
for( i = 0; sub_exts[i]; i++ )
if( strcmp( sub_exts[i], tmp ) == 0 )
if( strcasecmp( sub_exts[i], tmp ) == 0 )
return 1;
}
return 0;
......
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