From 37a025620f56865f124bcb600629b423e56d09bd Mon Sep 17 00:00:00 2001 From: sbarman Date: Fri, 24 Jun 2011 21:42:22 -0700 Subject: [PATCH] changed undefined to null check --- pdf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf.js b/pdf.js index 906ca4270..7f81cbe07 100644 --- a/pdf.js +++ b/pdf.js @@ -1867,7 +1867,7 @@ var CCITTFaxStream = (function() { constructor.prototype.lookBits = function(n) { var c; while (this.inputBits < n) { - if (typeof (c = this.str.getByte()) == "undefined") { + if ((c = this.str.getByte()) == null) { if (this.inputBits == 0) return EOF; return (this.inputBuf << (n - this.inputBits))