mirror of
https://github.com/GothenburgBitFactory/taskshell.git
synced 2025-06-26 10:54:29 +02:00
utf8: Initializer correction
This commit is contained in:
parent
e430083771
commit
bd8293ffe1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue