diff --git a/src/text.cpp b/src/text.cpp index d22c9c2dd..badea65e4 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -51,7 +51,7 @@ void wrapText ( std::string copy = text; std::string line; - while (copy.length ()) + while (copy.length ()) // Used as Boolean, therefore UTF8 safe. { extractLine (copy, line, width); lines.push_back (line); diff --git a/src/utf8.cpp b/src/utf8.cpp index 6d059a679..0e3bee35f 100644 --- a/src/utf8.cpp +++ b/src/utf8.cpp @@ -99,7 +99,6 @@ unsigned int utf8_next_char (const std::string& input, std::string::size_type& i ((input[i++] & 0x3F) << 6) + (input[i++] & 0x3F); - // Default: pretend as though it's a single character. // TODO Or should this throw? return input[i++];