mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
code reformat
This commit is contained in:
parent
c52e09082a
commit
26a8ae507d
1 changed files with 2 additions and 3 deletions
5
pdf.js
5
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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue