Fix a faulty IF statement, deflate should work now.

svn path=/trunk/; revision=12596
This commit is contained in:
Anders Broman 2004-11-24 13:53:27 +00:00
parent a8487d1bc3
commit 88a0557aea
1 changed files with 3 additions and 3 deletions

View File

@ -2742,9 +2742,9 @@ guint8 i;
}
*input_address = *input_address + 1;
if ( ( bit_order ) == 0 ){
if ( ( input_bit_order & 0x0001 ){
/*
* F/H bit = 0
* P bit = 0
*/
/* borrow value */
value = octet & 0x00ff;
@ -2752,7 +2752,7 @@ guint8 i;
*remaining_bits = *remaining_bits + 8;
}else{
/*
* F/H bit = 1
* P bit = 1
*/
/* borrow value */
value = ( octet << 7) & 0x80;