summaryrefslogtreecommitdiffstats
path: root/decoder.h
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.h
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.h')
-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];