diff options
author | josh.macdonald <jmacd@users.noreply.github.com> | 2007-09-13 09:59:55 +0000 |
---|---|---|
committer | josh.macdonald <jmacd@users.noreply.github.com> | 2007-09-13 09:59:55 +0000 |
commit | 94fc679c61ca73182ba9d473a36253364f8f1967 (patch) | |
tree | 50db96ee01d0a73bd2809bb2fcd0401955180850 /xdelta3/xdelta3-second.h | |
parent | c453ed7952ef5ee3f7d799f8ed7ee113ee711e28 (diff) |
Fix secondary compression for recode. Now able to reproduce doytchin's
bug report by recoding an FGK as a DJW.
Diffstat (limited to 'xdelta3/xdelta3-second.h')
-rw-r--r-- | xdelta3/xdelta3-second.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xdelta3/xdelta3-second.h b/xdelta3/xdelta3-second.h index f925586..db3a68c 100644 --- a/xdelta3/xdelta3-second.h +++ b/xdelta3/xdelta3-second.h | |||
@@ -198,6 +198,7 @@ xd3_decode_secondary (xd3_stream *stream, | |||
198 | 198 | ||
199 | sect->buf = sect->copied2; | 199 | sect->buf = sect->copied2; |
200 | sect->buf_max = sect->copied2 + dec_size; | 200 | sect->buf_max = sect->copied2 + dec_size; |
201 | sect->size = dec_size; | ||
201 | 202 | ||
202 | return 0; | 203 | return 0; |
203 | } | 204 | } |