This commit is contained in:
Nekotekina 2019-12-04 21:32:08 +03:00
parent 377e7d2a73
commit d2fd3c6bc4

View File

@ -66,7 +66,7 @@ std::string utf8_to_ascii8(const std::string& utf8_string)
{
const u8 code = static_cast<u8>(utf8_string[index]);
if (code == 0)
if (!code)
{
break;
}