summaryrefslogtreecommitdiffstats
path: root/decoder.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder.h b/decoder.h
index c445ccf..9419669 100644
--- a/decoder.h
+++ b/decoder.h
@@ -223,7 +223,7 @@ class LZ_decoder
void flush_data();
bool verify_trailer( const Pretty_print & pp ) const;
- uint8_t peek1() const
+ uint8_t peek_prev() const
{
const int i = ( ( pos > 0 ) ? pos : buffer_size ) - 1;
return buffer[i];