]> git.lyx.org Git - features.git/commitdiff
stupid me...
authorAbdelrazak Younes <younes@lyx.org>
Thu, 10 Jul 2008 11:45:16 +0000 (11:45 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 10 Jul 2008 11:45:16 +0000 (11:45 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25533 a592a061-630c-0410-9148-cb99ea01b6c8

src/graphics/GraphicsLoader.cpp

index 25caba51aa355ee67b1797345d076a2ce82284c0..ecc9cd9e03959374d33b429257217ff351303ffe 100644 (file)
@@ -415,7 +415,7 @@ void Loader::Impl::createPixmap()
                return;
        }
 
-       if (cached_item_->image()) {
+       if (!cached_item_->image()) {
                // There must have been a problem reading the file.
                LYXERR(Debug::GRAPHICS, "Graphics file not loaded.");
                return;