Michał Zaremba пре 2 месеци
родитељ
комит
c419a3c41a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lib/json/JsonParser.cpp

+ 1 - 1
lib/json/JsonParser.cpp

@@ -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]()