Skip to content

Commit

Permalink
Get inffixed.h and MAKEFIXED result to match.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Oct 6, 2011
1 parent af030e4 commit 518ad01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions inffixed.h
Expand Up @@ -2,9 +2,9 @@
* Generated automatically by makefixed().
*/

/* WARNING: this file should *not* be used by applications. It
is part of the implementation of the compression library and
is subject to change. Applications should only use zlib.h.
/* WARNING: this file should *not* be used by applications.
It is part of the implementation of this library and is
subject to change. Applications should only use zlib.h.
*/

static const code lenfix[512] = {
Expand Down
4 changes: 2 additions & 2 deletions inflate.c
Expand Up @@ -321,8 +321,8 @@ void makefixed()
low = 0;
for (;;) {
if ((low % 7) == 0) printf("\n ");
printf("{%u,%u,%d}", state.lencode[low].op, state.lencode[low].bits,
state.lencode[low].val);
printf("{%u,%u,%d}", (low & 127) == 99 ? 64 : state.lencode[low].op,
state.lencode[low].bits, state.lencode[low].val);
if (++low == size) break;
putchar(',');
}
Expand Down

0 comments on commit 518ad01

Please sign in to comment.