updated bzip2 for cleanliness, still some good reorganizations yet

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1242 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
justin1014 2002-10-01 02:15:54 +00:00
parent 77cb319b8c
commit 7b4b0174c9
7 changed files with 361 additions and 464 deletions

View file

@ -73,7 +73,7 @@
* wrong parameter order in call to bzDecompressInit in
bzBuffToBuffDecompress. Fixed.
--*/
#include "bzlib_private.h"
#include "bzlib.h"
/*---------------------------------------------------*/
@ -546,7 +546,6 @@ void unRLE_obuf_to_output_FAST ( DState* s )
if (cs_avail_out == 0) goto return_notr;
if (c_state_out_len == 1) break;
*( (UChar*)(cs_next_out) ) = c_state_out_ch;
BZ_UPDATE_CRC ( c_calculatedBlockCRC, c_state_out_ch );
c_state_out_len--;
cs_next_out++;
cs_avail_out--;
@ -557,7 +556,6 @@ void unRLE_obuf_to_output_FAST ( DState* s )
c_state_out_len = 1; goto return_notr;
};
*( (UChar*)(cs_next_out) ) = c_state_out_ch;
BZ_UPDATE_CRC ( c_calculatedBlockCRC, c_state_out_ch );
cs_next_out++;
cs_avail_out--;
}