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