fix API string path

This commit is contained in:
Paul Joannon
2018-01-11 12:59:31 +01:00
parent 6244b9e2e1
commit a35c8bbdc7
3 changed files with 5 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ bool ImageFormatLoader::recognize(const String &p_extension) const {
get_recognized_extensions(&extensions);
for (List<String>::Element *E = extensions.front(); E; E = E->next()) {
if (E->get().nocasecmp_to(p_extension.get_extension()) == 0)
if (E->get().nocasecmp_to(p_extension) == 0)
return true;
}