]> git.parisson.com Git - pdf.js.git/commitdiff
cleanup
authorsbarman <sbarman@L3CWZ5T.(none)>
Thu, 4 Aug 2011 05:43:15 +0000 (22:43 -0700)
committersbarman <sbarman@L3CWZ5T.(none)>
Thu, 4 Aug 2011 05:43:15 +0000 (22:43 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index 70d828fc3ca960a3652c1995843d05e0d9c8be64..3cd2d80ba41622e035189dbbd4acab0315bb6aea 100644 (file)
--- 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) {