- 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:
Paul Beckingham 2011-02-09 00:17:27 -05:00
parent 3a7e620ce6
commit ea374c05df

View file

@ -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)