summaryrefslogtreecommitdiffstats
path: root/core/io/resource_saver.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/resource_saver.cpp
parent6244b9e2e1a7e675452fd574b5007dd25ec73c69 (diff)
downloadredot-engine-a35c8bbdc7bdf2cd5ca640b572dd4ad1e170c260.tar.gz
fix API string path
Diffstat (limited to 'core/io/resource_saver.cpp')
-rw-r--r--core/io/resource_saver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/resource_saver.cpp b/core/io/resource_saver.cpp
index 609dd7e93c..3dcd94880a 100644
--- a/core/io/resource_saver.cpp
+++ b/core/io/resource_saver.cpp
@@ -56,7 +56,7 @@ Error ResourceSaver::save(const String &p_path, const RES &p_resource, uint32_t
for (List<String>::Element *E = extensions.front(); E; E = E->next()) {
- if (E->get().nocasecmp_to(extension.get_extension()) == 0)
+ if (E->get().nocasecmp_to(extension) == 0)
recognized = true;
}