Fix bug 5399.

Patch from Vincent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27087 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-10-24 16:59:11 +00:00
parent 4789edde52
commit b309ee82a0

View File

@ -321,13 +321,13 @@ string FileName::onlyFileName() const
string FileName::onlyFileNameWithoutExt() const
{
return fromqstr(d->fi.baseName());
return fromqstr(d->fi.completeBaseName());
}
string FileName::extension() const
{
return fromqstr(d->fi.suffix());
return fromqstr(d->fi.suffix());
}