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:
@@ -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]()
|
||||||
|
|||||||
Reference in New Issue
Block a user