Typo when branchporting

svn path=/branches/KDE/3.5/kdegraphics/kpdf/; revision=442433
remotes/origin/kpdf-3.5
Albert Astals Cid 21 years ago
parent 46869d2fe6
commit 87cbae1cc2
  1. 2
      xpdf/xpdf/PDFDoc.cc

@ -115,7 +115,7 @@ PDFDoc::PDFDoc(BaseStream *strA, GString *ownerPassword,
GBool PDFDoc::setup(GString *ownerPassword, GString *userPassword) {
str->reset();
char *eof = new char[1024];
char *eof = new char[1025];
int pos = str->getPos();
str->setPos(1024, -1);
for (int i = 0; i < 1024; i++) eof[i] = str->getChar();

Loading…
Cancel
Save