1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-03 17:37:18 +00:00

Fix typo in a comment

This commit is contained in:
scrawl 2015-12-10 00:15:55 +01:00
parent eb92b853fe
commit 0efce6cd4c

View File

@ -85,10 +85,10 @@ std::string Utf8Encoder::getUtf8(const char* input, size_t size)
assert(input[size] == 0);
// Note: The rest of this function is designed for single-character
// input encodings only. It also assumes that the input the input
// encoding shares its first 128 values (0-127) with ASCII. There are
// no plans to add more encodings to this module (we are using utf8
// for new content files), so that shouldn't be an issue.
// input encodings only. It also assumes that the input encoding
// shares its first 128 values (0-127) with ASCII. There are no plans
// to add more encodings to this module (we are using utf8 for new
// content files), so that shouldn't be an issue.
// Compute output length, and check for pure ascii input at the same
// time.