[poppler] poppler/PDFDoc.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sat Mar 22 07:49:11 PDT 2008
poppler/PDFDoc.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9b8809298dd16cdbffcc12b6db8e274578934063
Author: Albert Astals Cid <aacid at kde.org>
Date: Sat Mar 22 15:49:02 2008 +0100
It's really only an error if < 0
diff --git a/poppler/PDFDoc.cc b/poppler/PDFDoc.cc
index 0dc582c..da712a5 100644
--- a/poppler/PDFDoc.cc
+++ b/poppler/PDFDoc.cc
@@ -182,7 +182,7 @@ PDFDoc::PDFDoc(BaseStream *strA, GooString *ownerPassword,
GBool PDFDoc::setup(GooString *ownerPassword, GooString *userPassword) {
str->setPos(0, -1);
- if (str->getPos() <= 0)
+ if (str->getPos() < 0)
{
error(-1, "Document base stream is not seekable");
return gFalse;
More information about the poppler
mailing list