From 7a7ff9e8c5398d7129c2693075e97c8d6f1ecf2f Mon Sep 17 00:00:00 2001 From: sbarman Date: Wed, 3 Aug 2011 22:43:15 -0700 Subject: [PATCH] cleanup --- pdf.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pdf.js b/pdf.js index 70d828fc3..3cd2d80ba 100644 --- a/pdf.js +++ b/pdf.js @@ -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) {