kopia lustrzana https://github.com/viljoviitanen/pako
fix inflate: _tr_tally function argument calculation
rodzic
f47bb620ad
commit
2fcb571a68
|
@ -770,8 +770,7 @@ function deflate_slow(s, flush) {
|
|||
|
||||
/***_tr_tally_dist(s, s.strstart - 1 - s.prev_match,
|
||||
s.prev_length - MIN_MATCH, bflush);***/
|
||||
bflush = trees._tr_tally(s, s.strstart - 1- s.match_start, s.prev_length - MIN_MATCH);
|
||||
|
||||
bflush = trees._tr_tally(s, s.strstart - 1- s.prev_match, s.prev_length - MIN_MATCH);
|
||||
/* Insert in hash table all strings up to the end of the match.
|
||||
* strstart-1 and strstart are already inserted. If there is not
|
||||
* enough lookahead, the last two strings are not inserted in
|
||||
|
|
Ładowanie…
Reference in New Issue