TW-1778: Unicode strings are truncated in task description

- Thanks to Andrew, bjonnh, OKOMPer, Vladimir.
This commit is contained in:
Paul Beckingham 2016-08-31 17:48:45 -04:00
parent 394b7174cf
commit d025f3deb6
3 changed files with 7 additions and 1 deletions

View file

@ -131,6 +131,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
Lynoure Braakman
Sebastien Badia
Ran Benita
Vladimir
Thanks to the following, who submitted detailed bug reports and excellent
suggestions:
@ -296,3 +297,6 @@ suggestions:
Ellington Santos
george js
E. Manuel Cerr'on Angeles
Andrew
bjonnh
OKOMper

View file

@ -8,6 +8,8 @@
(thanks to Paul Beckingham)
- TW-1772 Implementation of circular dependency detection is
inefficient (thanks to Michael Meier).
- TW-1778 Unicode strings are truncated in task description
(thanks to Andrew, bjonnh, OKOMPer, Vladimir).
- TW-1788 Closing a reopened task does not update the end time
(thanks to Ralph Bean).
- TW-1791 taskrc(5) manpage: spurious "pri." in rule.precedence.color

View file

@ -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;
}