[poppler] Branch 'poppler-0.8' - poppler/Page.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Tue Jul 1 11:17:41 PDT 2008
poppler/Page.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1f266d2e8183c703be391ee8393c56a3e5654b27
Author: Albert Astals Cid <aacid at kde.org>
Date: Tue Jul 1 20:16:50 2008 +0200
Fix condition, we want fetched_thumb to be a Stream, not to be non null
Fixes bug 16579
diff --git a/poppler/Page.cc b/poppler/Page.cc
index 3da5976..fa2d86d 100644
--- a/poppler/Page.cc
+++ b/poppler/Page.cc
@@ -466,7 +466,7 @@ GBool Page::loadThumb(unsigned char **data_out,
/* Get stream dict */
thumb.fetch(xref, &fetched_thumb);
- if (fetched_thumb.isNull()) {
+ if (!fetched_thumb.isStream()) {
fetched_thumb.free();
return gFalse;
}
More information about the poppler
mailing list