mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22127 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2e34b2876a
commit
4164f547b2
@ -158,7 +158,7 @@ bool FileName::changePermission(unsigned long int mode) const
|
||||
}
|
||||
|
||||
#if defined (HAVE_CHMOD) && defined (HAVE_MODE_T)
|
||||
if (::chmod(file.toFilesystemEncoding().c_str(), mode_t(mode)) != 0) {
|
||||
if (::chmod(toFilesystemEncoding().c_str(), mode_t(mode)) != 0) {
|
||||
LYXERR0("File " << *this << ": cannot change permission to "
|
||||
<< mode << ".");
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user