瀏覽代碼

Fix typo in error message

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