From a809b0bde234e5a93d40a57416f4a0a4c0dcd070 Mon Sep 17 00:00:00 2001 From: jesse keane Date: Sat, 19 Jul 2014 02:15:52 -0700 Subject: [PATCH] fix reference error issue #30 --- lib/zlib/inftrees.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zlib/inftrees.js b/lib/zlib/inftrees.js index 8ef756a..4d2b22d 100644 --- a/lib/zlib/inftrees.js +++ b/lib/zlib/inftrees.js @@ -267,7 +267,7 @@ module.exports = function inflate_table(type, lens, lens_index, codes, table, ta /* go to next symbol, update count, len */ sym++; - if (--(count[len]) === 0) { + if (--count[len] === 0) { if (len === max) { break; } len = lens[lens_index + work[sym]]; }