X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmover.C;h=82cdce869b6bcaee4f1ea7c2ffaabe1b1e41a10e;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=e354762d2c03f4fc082cd8768828992e8faae74f;hpb=979e30b838e65c04507db573fa80e32126d45765;p=lyx.git diff --git a/src/mover.C b/src/mover.C index e354762d2c..82cdce869b 100644 --- a/src/mover.C +++ b/src/mover.C @@ -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; }