Skip to content

Commit

Permalink
fix the fix :) thanks to Nigel Horne
Browse files Browse the repository at this point in the history
  • Loading branch information
kyz committed Jun 13, 2004
1 parent 6a42ddd commit ce3cc03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion libmspack/trunk/ChangeLog
@@ -1,4 +1,9 @@
2003-04-23: Stuart Caie <kyzer@4u.net>
2004-06-12: Stuart Caie <kyzer@4u.net>

* lzxd_static_init(): removed write to lzxd_extra_bits[52], thanks
to Nigel Horne from the ClamAV project.

2004-04-23: Stuart Caie <kyzer@4u.net>

* mspack.h: changed 'this' parameters to 'self' to allow compiling in
C++ compilers, thanks to Michal Cihar for the suggestion.
Expand Down
2 changes: 1 addition & 1 deletion libmspack/trunk/mspack/lzxd.c
Expand Up @@ -358,7 +358,7 @@ static void lzxd_static_init() {
extra_bits[i+1] = j;
if ((i != 0) && (j < 17)) j++; /* 0,0,1,2,3,4...15,16,17,17,17,17... */
}
extra_bits[51] = 17;
extra_bits[50] = 17;

for (i = 0, j = 0; i < 51; i++) {
position_base[i] = j; /* 0,1,2,3,4,6,8,12,16,24,32,... */
Expand Down

0 comments on commit ce3cc03

Please sign in to comment.