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:
Abdelrazak Younes 2008-07-23 07:17:54 +00:00
parent 8195925175
commit 58303ecfa9

View File

@ -309,7 +309,7 @@ bool FileName::isWritable() const
bool FileName::isDirWritable() const
{
LYXERR(Debug::FILES, "isDirWriteable: " << *this);
FileName const tmpfl = FileName::tempName(absFilename() + "/lyxwritetest");
FileName const tmpfl = FileName::tempName(absFilename() + "lyxwritetest");
return !tmpfl.empty();
}