]> git.lyx.org Git - features.git/commitdiff
Fix bug introduced in r39705 (was making .eps.gz not work anymore).
authorTommaso Cucinotta <tommaso@lyx.org>
Tue, 20 Sep 2011 19:45:31 +0000 (19:45 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Tue, 20 Sep 2011 19:45:31 +0000 (19:45 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39720 a592a061-630c-0410-9148-cb99ea01b6c8

src/graphics/GraphicsCacheItem.cpp

index e4bfb019f94245d90701c66ecf7d357510d7e97a..fafa78bdcb2b68b2908eb67303b274e96632011f 100644 (file)
@@ -359,7 +359,7 @@ bool CacheItem::Impl::tryDisplayFormat(FileName & filename, string & from)
                return false;
        }
 
-       zipped_ = formats.isZippedFile(filename);
+       zipped_ = formats.isZippedFile(filename_);
        if (zipped_) {
                unzipped_filename_ = FileName::tempName(
                        filename_.toFilesystemEncoding());