1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Fix typo in error message

This commit is contained in:
Michał Zaremba
2025-07-26 23:45:55 +02:00
parent 85c2269aa0
commit c419a3c41a

View File

@@ -423,7 +423,7 @@ bool JsonParser::extractStruct(JsonNode & node)
bool JsonParser::extractArray(JsonNode & node) bool JsonParser::extractArray(JsonNode & node)
{ {
if(currentDepth > settings.maxDepth) if(currentDepth > settings.maxDepth)
error("Macimum allowed depth of json structure has been reached", true); error("Maximum allowed depth of json structure has been reached", true);
currentDepth++; currentDepth++;
auto guard = vstd::makeScopeGuard([this]() auto guard = vstd::makeScopeGuard([this]()