code reformat

This commit is contained in:
notmasteryet 2011-08-26 22:22:50 -05:00
parent c52e09082a
commit 26a8ae507d

5
pdf.js
View File

@ -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();
}