Fix thinko in r21048

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21590 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2007-11-13 23:06:40 +00:00
parent 12aa33ff01
commit a53e2ac8dc

View File

@ -807,7 +807,7 @@ string const GuiGraphics::readBB(string const & file)
bool GuiGraphics::isFilenameValid(string const & fname) const
{
// It may be that the filename is relative.
return makeAbsPath(fname, bufferFilepath()).isReadable();
return makeAbsPath(fname, bufferFilepath()).isFileReadable();
}