tornem a deixar els fitxers balloon.png com estaven

This commit is contained in:
2024-07-30 12:02:15 +02:00
parent f4484b24f1
commit 884cacbc2e
33 changed files with 104 additions and 336 deletions

View File

@@ -104,6 +104,7 @@ void uncompress( int code_length,
int clear_code; // This varies depending on code_length
int stop_code; // one more than clear code
int match_len;
clear_code = 1 << ( code_length );
stop_code = clear_code + 1;
@@ -141,7 +142,7 @@ void uncompress( int code_length,
{
code = 0x0;
// Always read one more bit than the code length
for ( i = 0; i < ( code_length + 1 ); i++ )
for ( i = 0; i < ( code_length + 1 ); ++i )
{
// This is different than in the file read example; that
// was a call to "next_bit"