Skip to content

Commit

Permalink
Merge pull request #31 from jarofghosts/master
Browse files Browse the repository at this point in the history
fix reference error issue #30
  • Loading branch information
Vitaly Puzrin committed Jul 19, 2014
2 parents f09eb4c + a809b0b commit 18a9999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zlib/inftrees.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]];
}
Expand Down

0 comments on commit 18a9999

Please sign in to comment.