diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 14:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 14:06:44 +0000 |
commit | 8115a3e25cf2f14818bf58a5285b113efd18e0bb (patch) | |
tree | 4e7b98c1a70c26289b3f7db2e460959da3e1eb90 /encoder.c | |
parent | Adding upstream version 1.7~pre1. (diff) | |
download | lzlib-8115a3e25cf2f14818bf58a5285b113efd18e0bb.tar.xz lzlib-8115a3e25cf2f14818bf58a5285b113efd18e0bb.zip |
Adding upstream version 1.7~rc1.upstream/1.7_rc1
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
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 ) { |