diff options
Diffstat (limited to '')
-rw-r--r-- | encoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -441,7 +441,7 @@ int LZ_encoder::sequence_optimizer( const int reps[num_rep_distances], trials[++num_trials].price = infinite_price; int i = 0; - while( start_len > pairs[i].len ) ++i; + while( pairs[i].len < start_len ) ++i; int dis = pairs[i].dis; for( int len = start_len; ; ++len ) { |