From 7122fd58d8b03c3e278ef99406ab13c328917114 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 10 Jul 2008 11:45:16 +0000 Subject: [PATCH] stupid me... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25533 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/graphics/GraphicsLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/GraphicsLoader.cpp b/src/graphics/GraphicsLoader.cpp index 25caba51aa..ecc9cd9e03 100644 --- a/src/graphics/GraphicsLoader.cpp +++ b/src/graphics/GraphicsLoader.cpp @@ -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;