mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Bug fix: FileName doesn't like double slash. I am going to fix this properly after this commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25826 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8195925175
commit
58303ecfa9
@ -309,7 +309,7 @@ bool FileName::isWritable() const
|
|||||||
bool FileName::isDirWritable() const
|
bool FileName::isDirWritable() const
|
||||||
{
|
{
|
||||||
LYXERR(Debug::FILES, "isDirWriteable: " << *this);
|
LYXERR(Debug::FILES, "isDirWriteable: " << *this);
|
||||||
FileName const tmpfl = FileName::tempName(absFilename() + "/lyxwritetest");
|
FileName const tmpfl = FileName::tempName(absFilename() + "lyxwritetest");
|
||||||
return !tmpfl.empty();
|
return !tmpfl.empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user