]> git.lyx.org Git - lyx.git/blobdiff - src/vc-backend.C
Change to use preffered calling of Boost.Function
[lyx.git] / src / vc-backend.C
index 414c8e4d9f27999afd24d80ace91dfef3116df33..99bcd4fa4646d305ec61b6b17b9f88a2bb1b1421 100644 (file)
@@ -134,7 +134,7 @@ void RCS::scanMaster()
                        // nothing
                } else if (contains(token, "locks")) {
                        // get locker here
-                       if (contains(token, ";")) {
+                       if (contains(token, ';')) {
                                locker_ = "Unlocked";
                                vcstatus = UNLOCKED;
                                continue;
@@ -153,7 +153,7 @@ void RCS::scanMaster()
                                        vcstatus = LOCKED;
                                        break;
                                }
-                       } while (!contains(tmpt, ";"));
+                       } while (!contains(tmpt, ';'));
 
                } else if (token == "comment") {
                        // we don't need to read any further than this.