]> git.lyx.org Git - lyx.git/blobdiff - src/mover.C
hopefully fix tex2lyx linking.
[lyx.git] / src / mover.C
index e354762d2c03f4fc082cd8768828992e8faae74f..82cdce869b6bcaee4f1ea7c2ffaabe1b1e41a10e 100644 (file)
@@ -55,7 +55,7 @@ bool SpecialisedMover::do_copy(string const & from, string const & to,
                if (!ofs)
                        return false;
                ofs.close();
-               if (!support::chmod(to.c_str(), mode))
+               if (!support::chmod(to, mode))
                        return false;
        }