diff options
Diffstat (limited to 'ZAPD/ZFile.cpp')
| -rw-r--r-- | ZAPD/ZFile.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ZAPD/ZFile.cpp b/ZAPD/ZFile.cpp index 60382f6..0977650 100644 --- a/ZAPD/ZFile.cpp +++ b/ZAPD/ZFile.cpp @@ -216,7 +216,9 @@ void ZFile::ParseXML(tinyxml2::XMLElement* reader, const std::string& filename) std::string offsetStr = StringHelper::Split(offsetXml, "0x")[1]; if (!StringHelper::HasOnlyHexDigits(offsetStr)) { - HANDLE_ERROR(WarningType::InvalidXML, StringHelper::Sprintf("Invalid offset %s entered", offsetStr.c_str()), ""); + HANDLE_ERROR(WarningType::InvalidXML, + StringHelper::Sprintf("Invalid offset %s entered", offsetStr.c_str()), + ""); } rawDataIndex = strtol(offsetStr.c_str(), NULL, 16); @@ -426,7 +428,7 @@ std::vector<ZResource*> ZFile::GetResourcesOfType(ZResourceType resType) { std::vector<ZResource*> resList; resList.reserve(resources.size()); - + for (ZResource* res : resources) { if (res->GetResourceType() == resType) |
