Merge branch '1.9.2' of tasktools.org:task into 1.9.2

This commit is contained in:
Paul Beckingham 2010-06-23 17:22:21 -04:00
commit 2ab1df77df
2 changed files with 2 additions and 3 deletions

View file

@ -37,8 +37,7 @@ Adds an annotation to an existing task.
.B denotate ID description
Deletes an annotation for the specified task. If the provided description matches an
annotation exactly, the corresponding annotation is deleted. If the provided description
matches an annotation partly (from the beginning), the first partly matched annotation
is deleted.
matches annotations partly, the first partly matched annotation is deleted.
.TP
.B info ID

View file

@ -2082,7 +2082,7 @@ int handleDenotate (std::string &outs)
anno = i->value ();
std::string::size_type loc = find (anno, desc, sensitive);
if (loc != std::string::npos && loc == 0)
if (loc != std::string::npos)
{
match = true;
annotations.erase (i);