* \file BranchList.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
+ *
* \author Martin Vermeer
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
+#include <config.h>
+
#include "BranchList.h"
#include "support/LAssert.h"
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;
}