Explorar o código

[amf] Fix minor typo in error message.

Added missing space to detail string on parse failure.
Jason C %!s(int64=4) %!d(string=hai) anos
pai
achega
a03dc4edaa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      code/AssetLib/AMF/AMFImporter.cpp

+ 1 - 1
code/AssetLib/AMF/AMFImporter.cpp

@@ -268,7 +268,7 @@ void AMFImporter::ParseFile(const std::string &pFile, IOSystem *pIOHandler) {
     mXmlParser = new XmlParser();
     if (!mXmlParser->parse(file.get())) {
         delete mXmlParser;
-        throw DeadlyImportError("Failed to create XML reader for file" + pFile + ".");
+        throw DeadlyImportError("Failed to create XML reader for file ", pFile, ".");
     }
 
     // Start reading, search for root tag <amf>