diff --git a/src/BranchList.C b/src/BranchList.C index b559085b81..2198a7cc70 100644 --- a/src/BranchList.C +++ b/src/BranchList.C @@ -83,7 +83,7 @@ void BranchList::setColor(string const & s, string const & val) List::iterator it = list.begin(); List::iterator end = list.end(); for (; it != end; ++it) { - if (s.find(it->getBranch(), 0) != string::npos) { + if (s == it->getBranch()) { it->setColor(val); return; } diff --git a/src/ChangeLog b/src/ChangeLog index 1f38a46c9a..563ba2dc4a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2003-09-03 Martin Vermeer + + * BranchList.C: point fix, earlier forgotten + 2003-09-02 Angus Leeming * box.C (contains): renamed from 'contained' after a fantastic