TW-1778: Unicode strings are truncated in task description
- Thanks to Andrew, bjonnh, OKOMPer, Vladimir.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user