mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-24 08:56:43 +02:00
I18N
- Reviewed UTF8-safety.
This commit is contained in:
parent
9fd819e3a0
commit
a722064d80
2 changed files with 1 additions and 2 deletions
|
@ -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++];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue