summaryrefslogtreecommitdiff
path: root/src/core/resource
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/resource')
-rw-r--r--src/core/resource/ResourceRequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/resource/ResourceRequest.cpp b/src/core/resource/ResourceRequest.cpp
index b047082..f820bc3 100644
--- a/src/core/resource/ResourceRequest.cpp
+++ b/src/core/resource/ResourceRequest.cpp
@@ -178,7 +178,7 @@ bool ResourceRequest::deduce(Registry &registry, Logger &logger)
}
// Limit the supportedTypes to those returned by the parser
- supportedTypes = Rtti::setIntersection(supportedTypes, parserTypes);
+ supportedTypes = Rtti::setIntersection(parserTypes, supportedTypes);
if (supportedTypes.empty()) {
logger.error(std::string("Cannot include or link a file of type \"") +
mimetype + std::string("\" here!"));