1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Merge pull request #3382 from vcmi/kambala-decapitator-typo

fix typo
This commit is contained in:
Ivan Savenko 2023-12-24 13:20:57 +02:00 committed by GitHub
commit 04b6167467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -252,7 +252,7 @@ bool JsonParser::extractWhitespace(bool verbose)
if (input[pos] == '/')
pos++;
else
error("Comments must consist from two slashes!", true);
error("Comments must consist of two slashes!", true);
while (pos < input.size() && input[pos] != '\n')
pos++;
@ -410,7 +410,7 @@ bool JsonParser::extractStruct(JsonNode &node)
}
if (node.Struct().find(key) != node.Struct().end())
error("Dublicated element encountered!", true);
error("Duplicate element encountered!", true);
if (!extractSeparator())
return false;