Merge pull request #31 from jarofghosts/master

fix reference error issue #30
master
Vitaly Puzrin 2014-07-19 13:59:24 +04:00
commit 18a9999812
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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]];
}