utf8: Initializer correction

This commit is contained in:
Paul Beckingham 2015-10-17 14:50:45 -04:00
parent e430083771
commit bd8293ffe1

View file

@ -113,7 +113,7 @@ unsigned int utf8_next_char (const std::string& input, std::string::size_type& i
// http://en.wikipedia.org/wiki/UTF-8
std::string utf8_character (unsigned int codepoint)
{
char sequence[5] = {0};
char sequence[5] {};
// 0xxxxxxx -> 0xxxxxxx
if (codepoint < 0x80)