summaryrefslogtreecommitdiffstats
path: root/encoder.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 09:58:28 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 09:58:28 +0000
commit8faaeaa3dfe3451b487bea5db15ba6b8970bbe74 (patch)
tree60716d12512c396abc47fece784b2685cbcabb47 /encoder.cc
parentAdding debian version 1.15~pre1-1. (diff)
downloadlzip-8faaeaa3dfe3451b487bea5db15ba6b8970bbe74.tar.xz
lzip-8faaeaa3dfe3451b487bea5db15ba6b8970bbe74.zip
Merging upstream version 1.15~pre2.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'encoder.cc')
-rw-r--r--encoder.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/encoder.cc b/encoder.cc
index 3387bbf..a764f1e 100644
--- a/encoder.cc
+++ b/encoder.cc
@@ -404,7 +404,8 @@ int LZ_encoder::sequence_optimizer( const int reps[num_rep_distances],
return 1;
}
- for( int i = 0; i < num_rep_distances; ++i ) trials[0].reps[i] = reps[i];
+ for( int i = 0; i < num_rep_distances; ++i )
+ trials[0].reps[i] = reps[i];
trials[1].prev_index = 0;
trials[1].prev_index2 = single_step_trial;