From 26a8ae507de70d53eddb84229b410621432c5f53 Mon Sep 17 00:00:00 2001 From: notmasteryet Date: Fri, 26 Aug 2011 22:22:50 -0500 Subject: [PATCH] code reformat --- pdf.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pdf.js b/pdf.js index 52fd0ffcb..5cfb7dc28 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(); }