This commit is contained in:
Nekotekina 2019-12-04 21:32:08 +03:00
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]); const u8 code = static_cast<u8>(utf8_string[index]);
if (code == 0) if (!code)
{ {
break; break;
} }