summaryrefslogtreecommitdiffstats
path: root/decoder.cc
diff options
context:
space:
mode:
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();