Adjusted denotate

- partly matched strings are now also detected in the middle of the
  annotation and not only from the beginning.
This commit is contained in:
Federico Hernandez
2010-06-21 22:56:05 +02:00
parent cd648270ab
commit b6d320d311
2 changed files with 2 additions and 3 deletions

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