Browse Source

forgot to changed to typeof b == undefined at one location

sbarman 14 years ago
parent
commit
96e82daf16
  1. 2
      pdf.js

2
pdf.js

@ -267,7 +267,7 @@ var FlateStream = (function() {
var b; var b;
while (codeSize < bits) { while (codeSize < bits) {
if ((b = bytes[bytesPos++]) == undefined) if (typeof (b = bytes[bytesPos++]) == "undefined")
error("Bad encoding in flate stream"); error("Bad encoding in flate stream");
codeBuf |= b << codeSize; codeBuf |= b << codeSize;
codeSize += 8; codeSize += 8;

Loading…
Cancel
Save