diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 10:08:13 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 10:08:13 +0000 |
commit | c31a05b15eb10df5b9a3daa9d9b1d6a5bc7918c5 (patch) | |
tree | 4aab201a8b40daa717615f9f3a7b9407a25936e6 /encoder.cc | |
parent | Adding debian version 1.17~rc1-1. (diff) | |
download | lzip-c31a05b15eb10df5b9a3daa9d9b1d6a5bc7918c5.tar.xz lzip-c31a05b15eb10df5b9a3daa9d9b1d6a5bc7918c5.zip |
Merging upstream version 1.17~rc2.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'encoder.cc')
-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 ) { |