]> git.lyx.org Git - features.git/blobdiff - src/support/filetools.C
fix double space editing, small change to make Path more foolproof, dont use reserve...
[features.git] / src / support / filetools.C
index 340da1cfa73b8494b47300f956492014129a5ae8..f79fd314a6189255f2f858ad323270bd4b74a6f0 100644 (file)
@@ -831,7 +831,7 @@ string MakeRelPath(string const & abspath0, string const & basepath0)
        int j = i;
        while (j < baselen) {
                if (basepath[j] == '/') {
-                       if (j+1 == baselen) break;
+                       if (j + 1 == baselen) break;
                        buf += "../";
                }
                ++j;