mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-04 10:50:59 +01:00
fix inflate: _tr_tally function argument calculation
This commit is contained in:
parent
f47bb620ad
commit
2fcb571a68
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue