This commit is contained in:
sbarman 2011-08-03 22:43:15 -07:00
parent 4b132a7b3e
commit 7a7ff9e8c5

3
pdf.js
View File

@ -230,9 +230,8 @@ var DecodeStream = (function() {
},
makeSubStream: function decodestream_makeSubstream(start, length, dict) {
var end = start + length;
while (this.bufferLength <= end && !this.eof) {
while (this.bufferLength <= end && !this.eof)
this.readBlock();
}
return new Stream(this.buffer, start, length, dict);
},
skip: function decodestream_skip(n) {