mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- Edit wasn't properly parsing annotation entry dates since a recent commit changed the length of the pattern used to find annotations.
This commit is contained in:
parent
3a7e620ce6
commit
ea374c05df
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ static void parseTask (Task& task, const std::string& after)
|
|||
std::string::size_type found = 0;
|
||||
while ((found = after.find ("\n Annotation:", found)) != std::string::npos)
|
||||
{
|
||||
found += 11;
|
||||
found += 14; // Length of "\n Annotation:".
|
||||
|
||||
std::string::size_type eol = after.find ("\n", found + 1);
|
||||
if (eol != std::string::npos)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue