summaryrefslogtreecommitdiffstats
path: root/decoder.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 10:06:37 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 10:06:37 +0000
commit03a774e06a09b1a974d2ba2a04c129f1daca92f3 (patch)
tree80da39583436322d6cb282e0365f04aec6fca4a5 /decoder.cc
parentAdding debian version 1.17~pre1-1. (diff)
downloadlzip-03a774e06a09b1a974d2ba2a04c129f1daca92f3.tar.xz
lzip-03a774e06a09b1a974d2ba2a04c129f1daca92f3.zip
Merging upstream version 1.17~rc1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'decoder.cc')
-rw-r--r--decoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder.cc b/decoder.cc
index d10bc09..5eb9221 100644
--- a/decoder.cc
+++ b/decoder.cc
@@ -213,7 +213,7 @@ int LZ_decoder::decode_member( const Pretty_print & pp )
const int pos_state = data_position() & pos_state_mask;
if( rdec.decode_bit( bm_match[state()][pos_state] ) == 0 ) // 1st bit
{
- const uint8_t prev_byte = peek1();
+ const uint8_t prev_byte = peek_prev();
if( state.is_char() )
{
state.set_char1();