[amf] Fix minor typo in error message.

Added missing space to detail string on parse failure.
pull/3881/head
Jason C 2021-05-04 20:45:08 -04:00
parent f8609c2c2d
commit a03dc4edaa
1 changed files with 1 additions and 1 deletions

View File

@ -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>