]> git.lyx.org Git - features.git/commitdiff
Point fix, earlier forgotten
authorMartin Vermeer <martin.vermeer@hut.fi>
Wed, 3 Sep 2003 09:33:36 +0000 (09:33 +0000)
committerMartin Vermeer <martin.vermeer@hut.fi>
Wed, 3 Sep 2003 09:33:36 +0000 (09:33 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7645 a592a061-630c-0410-9148-cb99ea01b6c8

src/BranchList.C
src/ChangeLog

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;
                }
index 1f38a46c9a60870981cf98334a0647456297200d..563ba2dc4af49cfbee783937834403612cb50248 100644 (file)
@@ -1,3 +1,7 @@
+2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * BranchList.C: point fix, earlier forgotten
+
 2003-09-02  Angus Leeming  <leeming@lyx.org>
 
        * box.C (contains): renamed from 'contained' after a fantastic