]> git.lyx.org Git - lyx.git/blobdiff - src/BranchList.C
Move #includes out of header files.
[lyx.git] / src / BranchList.C
index b559085b81004e03e3a9d75f65db6bc547127170..2198a7cc70ab6347c177f2a0f4a97c34516e12cb 100644 (file)
@@ -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;
                }