From: notmasteryet Date: Sat, 27 Aug 2011 03:22:50 +0000 (-0500) Subject: code reformat X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=26a8ae507de70d53eddb84229b410621432c5f53;p=pdf.js.git code reformat --- diff --git a/pdf.js b/pdf.js index 52fd0ff..5cfb7dc 100644 --- a/pdf.js +++ b/pdf.js @@ -2715,9 +2715,8 @@ var Parser = (function() { // stream objects are not allowed inside content streams or // object streams if (IsCmd(this.buf2, 'stream')) { - if (!this.allowStreams) - return dict; - return this.makeStream(dict, cipherTransform); + return this.allowStreams ? + this.makeStream(dict, cipherTransform) : dict; } else { this.shift(); }