Commit 770a7ac9 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Merge remote-tracking branch 'origin/poppler-0.24'

parents e7a0f2b9 9ae29c7a
......@@ -819,6 +819,9 @@ GBool FileStream::fillBuf() {
n = fileStreamBufSize;
}
n = file->read(buf, n, offset);
if (n == -1) {
return gFalse;
}
offset += n;
bufEnd = buf + n;
if (bufPtr >= bufEnd) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment