fix typos

This commit is contained in:
nautaa 2021-01-05 23:08:36 +08:00
parent 709556832f
commit 6ecf505f48

View File

@ -230,7 +230,7 @@ namespace
static inline char decodeNumberPart(const char * src)
{
auto numberic_ans = strtol(src, nullptr, 10);
if (numberic_ans >= min_XML_number && ans <= max_XML_number)
if (numberic_ans >= min_XML_number && numberic_ans <= max_XML_number)
{
return '\0' + numberic_ans;
}