mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
forgot to changed to typeof b == undefined at one location
This commit is contained in:
parent
9c01d8536a
commit
efe148e715
1 changed files with 1 additions and 1 deletions
2
pdf.js
2
pdf.js
|
@ -267,7 +267,7 @@ var FlateStream = (function() {
|
|||
|
||||
var b;
|
||||
while (codeSize < bits) {
|
||||
if ((b = bytes[bytesPos++]) == undefined)
|
||||
if (typeof (b = bytes[bytesPos++]) == "undefined")
|
||||
error("Bad encoding in flate stream");
|
||||
codeBuf |= b << codeSize;
|
||||
codeSize += 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue