mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Fix typo in error message
This commit is contained in:
@@ -423,7 +423,7 @@ bool JsonParser::extractStruct(JsonNode & node)
|
||||
bool JsonParser::extractArray(JsonNode & node)
|
||||
{
|
||||
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++;
|
||||
auto guard = vstd::makeScopeGuard([this]()
|
||||
|
Reference in New Issue
Block a user