Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/xpdf/PDFDoc.cc
diff options
context:
space:
mode:
authorMichael Meeks <mmeeks@src.gnome.org>1999-08-20 21:43:22 (GMT)
committer Michael Meeks <mmeeks@src.gnome.org>1999-08-20 21:43:22 (GMT)
commitfedba8db5f2a32dbfffee5699ee71365871fe45a (patch)
treeb799b028e5cea807fa524bb8d722d1c26039994c /pdf/xpdf/PDFDoc.cc
parentbf3b381529f5388bd1bda8ed8fafb247a7b8a9fc (diff)
Fixed vicious bug in stream stuff, should work now.
Diffstat (limited to 'pdf/xpdf/PDFDoc.cc')
-rw-r--r--pdf/xpdf/PDFDoc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/xpdf/PDFDoc.cc b/pdf/xpdf/PDFDoc.cc
index e2dcd54..111c189 100644
--- a/pdf/xpdf/PDFDoc.cc
+++ b/pdf/xpdf/PDFDoc.cc
@@ -38,14 +38,14 @@ PDFDoc::PDFDoc(Stream *str1, GString *fileName1) {
xref = NULL;
links = NULL;
+ str = str1;
fileName = fileName1;
- if (!str1)
+ if (!(str && str->isOk()))
return;
// create stream
/* obj.initNull(); */
/* str = new FileStream(file, 0, -1, &obj); */
- str = str1;
// check header
/* str->checkHeader(); FIXME */