UTF8: Cleanup

This commit is contained in:
Paul Beckingham 2015-10-29 23:14:46 -04:00
parent de8c7d230f
commit ad26d98d0f

View file

@ -79,7 +79,6 @@ unsigned int utf8_next_char (const std::string& input, std::string::size_type& i
// How many bytes in the sequence?
int length = utf8_sequence (input[i]);
i += length;
// 0xxxxxxx -> 0xxxxxxx
@ -272,7 +271,7 @@ unsigned int utf8_text_width (const std::string& str)
const std::string utf8_substr (
const std::string& input,
unsigned int start,
unsigned int length /*=0*/)
unsigned int length /* = 0 */)
{
// Find the starting index.
std::string::size_type index_start = 0;