summaryrefslogtreecommitdiff
path: root/core/io/image_loader.cpp
diff options
context:
space:
mode:
authorPaul Joannon <hello@pauljoannon.com>2018-01-11 12:59:31 +0100
committerPaul Joannon <hello@pauljoannon.com>2018-04-30 09:38:18 +0200
commita35c8bbdc7bdf2cd5ca640b572dd4ad1e170c260 (patch)
tree50ba7c18fe7975926c36c0fc08219ef38ad2423d /core/io/image_loader.cpp
parent6244b9e2e1a7e675452fd574b5007dd25ec73c69 (diff)
fix API string path
Diffstat (limited to 'core/io/image_loader.cpp')
-rw-r--r--core/io/image_loader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/image_loader.cpp b/core/io/image_loader.cpp
index 999c9a8ca2..8ebd9d6cd9 100644
--- a/core/io/image_loader.cpp
+++ b/core/io/image_loader.cpp
@@ -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;
}