diff options
author | Mark Adler <fork@madler.net> | 2022-08-22 13:13:06 -0700 |
---|---|---|
committer | Mark Adler <fork@madler.net> | 2022-08-23 15:35:13 -0700 |
commit | 5752b171fd4cc96b8d1f9526ec1940199c6e9740 (patch) | |
tree | 7d8d7e6bf5760cca696b77e72010a497a097061a /contrib/puff/puff.c | |
parent | 1eb7682f845ac9e9bf9ae35bbfb3bad5dacbd91d (diff) | |
download | zlib-5752b171fd4cc96b8d1f9526ec1940199c6e9740.tar.gz zlib-5752b171fd4cc96b8d1f9526ec1940199c6e9740.tar.bz2 zlib-5752b171fd4cc96b8d1f9526ec1940199c6e9740.zip |
Fix some typos.
No code changes.
Diffstat (limited to 'contrib/puff/puff.c')
-rw-r--r-- | contrib/puff/puff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/puff/puff.c b/contrib/puff/puff.c index c6c90d7..6737ff6 100644 --- a/contrib/puff/puff.c +++ b/contrib/puff/puff.c | |||
@@ -43,7 +43,7 @@ | |||
43 | * - Use pointers instead of long to specify source and | 43 | * - Use pointers instead of long to specify source and |
44 | * destination sizes to avoid arbitrary 4 GB limits | 44 | * destination sizes to avoid arbitrary 4 GB limits |
45 | * 1.2 17 Mar 2002 - Add faster version of decode(), doubles speed (!), | 45 | * 1.2 17 Mar 2002 - Add faster version of decode(), doubles speed (!), |
46 | * but leave simple version for readabilty | 46 | * but leave simple version for readability |
47 | * - Make sure invalid distances detected if pointers | 47 | * - Make sure invalid distances detected if pointers |
48 | * are 16 bits | 48 | * are 16 bits |
49 | * - Fix fixed codes table error | 49 | * - Fix fixed codes table error |
@@ -624,7 +624,7 @@ local int fixed(struct state *s) | |||
624 | * are themselves compressed using Huffman codes and run-length encoding. In | 624 | * are themselves compressed using Huffman codes and run-length encoding. In |
625 | * the list of code lengths, a 0 symbol means no code, a 1..15 symbol means | 625 | * the list of code lengths, a 0 symbol means no code, a 1..15 symbol means |
626 | * that length, and the symbols 16, 17, and 18 are run-length instructions. | 626 | * that length, and the symbols 16, 17, and 18 are run-length instructions. |
627 | * Each of 16, 17, and 18 are follwed by extra bits to define the length of | 627 | * Each of 16, 17, and 18 are followed by extra bits to define the length of |
628 | * the run. 16 copies the last length 3 to 6 times. 17 represents 3 to 10 | 628 | * the run. 16 copies the last length 3 to 6 times. 17 represents 3 to 10 |
629 | * zero lengths, and 18 represents 11 to 138 zero lengths. Unused symbols | 629 | * zero lengths, and 18 represents 11 to 138 zero lengths. Unused symbols |
630 | * are common, hence the special coding for zero lengths. | 630 | * are common, hence the special coding for zero lengths. |