summaryrefslogtreecommitdiffstats
path: root/decoder.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 10:06:25 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 10:06:25 +0000
commitcbcc47a0b7c19d9fe1e73a07860a7c10739a9d1c (patch)
tree5bf33f510fd297a75e361729c74fdfffb72b54e6 /decoder.cc
parentAdding upstream version 1.17~pre1. (diff)
downloadlzip-cbcc47a0b7c19d9fe1e73a07860a7c10739a9d1c.tar.xz
lzip-cbcc47a0b7c19d9fe1e73a07860a7c10739a9d1c.zip
Adding upstream version 1.17~rc1.upstream/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();