Fix thinko in r21047

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21589 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2007-11-13 23:05:02 +00:00
parent 0ee7c6e283
commit 12aa33ff01

View File

@ -766,7 +766,7 @@ docstring const GuiGraphics::browse(docstring const & in_name) const
FileName clip(clipdir); FileName clip(clipdir);
// bail out to system clipart directory // bail out to system clipart directory
if (!clip.exists() && clip.isDirectory()) if (!(clip.exists() && clip.isDirectory()))
clipdir = addName(package().system_support().absFilename(), "clipart"); clipdir = addName(package().system_support().absFilename(), "clipart");
return browseRelFile(in_name, from_utf8(bufferFilepath()), return browseRelFile(in_name, from_utf8(bufferFilepath()),