diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 10:08:04 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 10:08:04 +0000 |
commit | 596a882bb1df38eb6ff3bb8d52b52d5d9cd82abb (patch) | |
tree | 44baf26cf66a00cf6191bddad514b67fe589fbf6 /encoder.cc | |
parent | Adding upstream version 1.17~rc1. (diff) | |
download | lzip-596a882bb1df38eb6ff3bb8d52b52d5d9cd82abb.tar.xz lzip-596a882bb1df38eb6ff3bb8d52b52d5d9cd82abb.zip |
Adding upstream version 1.17~rc2.upstream/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 ) { |