diff options
Diffstat (limited to 'deflate.c')
-rw-r--r-- | deflate.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -52,7 +52,7 @@ | |||
52 | #include "deflate.h" | 52 | #include "deflate.h" |
53 | 53 | ||
54 | const char deflate_copyright[] = | 54 | const char deflate_copyright[] = |
55 | " deflate 1.1.0 Copyright 1995-1998 Jean-loup Gailly "; | 55 | " deflate 1.1.1 Copyright 1995-1998 Jean-loup Gailly "; |
56 | /* | 56 | /* |
57 | If you use the zlib library in a product, an acknowledgment is welcome | 57 | If you use the zlib library in a product, an acknowledgment is welcome |
58 | in the documentation of your product. If for some reason you cannot | 58 | in the documentation of your product. If for some reason you cannot |
@@ -1294,8 +1294,8 @@ local block_state deflate_slow(s, flush) | |||
1294 | 1294 | ||
1295 | check_match(s, s->strstart-1, s->prev_match, s->prev_length); | 1295 | check_match(s, s->strstart-1, s->prev_match, s->prev_length); |
1296 | 1296 | ||
1297 | bflush = _tr_tally(s, s->strstart -1 - s->prev_match, | 1297 | _tr_tally_dist(s, s->strstart -1 - s->prev_match, |
1298 | s->prev_length - MIN_MATCH); | 1298 | s->prev_length - MIN_MATCH, bflush); |
1299 | 1299 | ||
1300 | /* Insert in hash table all strings up to the end of the match. | 1300 | /* Insert in hash table all strings up to the end of the match. |
1301 | * strstart-1 and strstart are already inserted. If there is not | 1301 | * strstart-1 and strstart are already inserted. If there is not |
@@ -1322,7 +1322,7 @@ local block_state deflate_slow(s, flush) | |||
1322 | */ | 1322 | */ |
1323 | Tracevv((stderr,"%c", s->window[s->strstart-1])); | 1323 | Tracevv((stderr,"%c", s->window[s->strstart-1])); |
1324 | _tr_tally_lit(s, s->window[s->strstart-1], bflush); | 1324 | _tr_tally_lit(s, s->window[s->strstart-1], bflush); |
1325 | if (bflush) { | 1325 | if (bflush) { |
1326 | FLUSH_BLOCK_ONLY(s, 0); | 1326 | FLUSH_BLOCK_ONLY(s, 0); |
1327 | } | 1327 | } |
1328 | s->strstart++; | 1328 | s->strstart++; |