Skip to content
Snippets Groups Projects
Commit ebfaf978 authored by Damian Minkov's avatar Damian Minkov
Browse files

Fixes filtering correct file types.

parent f340aa71
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ public static boolean isSoundFile(File f, String[] soundFormats)
return (Arrays.binarySearch(
soundFormats,
ext,
String.CASE_INSENSITIVE_ORDER) != -1);
String.CASE_INSENSITIVE_ORDER) > -1);
}
}
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment