diff options
Diffstat (limited to 'encoder.c')
-rw-r--r-- | encoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -455,7 +455,7 @@ static int LZe_sequence_optimizer( struct LZ_encoder * const e, e->trials[++num_trials].price = infinite_price; i = 0; - while( start_len > e->pairs[i].len ) ++i; + while( e->pairs[i].len < start_len ) ++i; dis = e->pairs[i].dis; for( len = start_len; ; ++len ) { |