mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
TW-1778: Unicode strings are truncated in task description
- Thanks to Andrew, bjonnh, OKOMPer, Vladimir.
This commit is contained in:
parent
394b7174cf
commit
d025f3deb6
3 changed files with 7 additions and 1 deletions
|
@ -248,7 +248,7 @@ bool extractLine (
|
|||
// Premature EOL.
|
||||
if (character == '\n')
|
||||
{
|
||||
line = text.substr (offset, line_length);
|
||||
line = text.substr (offset, prior_cursor - offset);
|
||||
offset = cursor;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue