From ea374c05df18fa90e52017fbb4b6c284e6eaf825 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 9 Feb 2011 00:17:27 -0500 Subject: [PATCH] Bug - Edit wasn't properly parsing annotation entry dates since a recent commit changed the length of the pattern used to find annotations. --- src/edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/edit.cpp b/src/edit.cpp index 99ca91ad8..866d144f9 100644 --- a/src/edit.cpp +++ b/src/edit.cpp @@ -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)