diff options
author | Jay Berkenbilt <ejb@ql.org> | 2020-10-18 13:43:05 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2020-10-18 13:43:05 +0200 |
commit | bed165c9fc070d2c483d8cc9bd0e7ac299b29e23 (patch) | |
tree | 8ce776a0d080bfcf28d42d91aa2e8e1cbfa0c6fa /libqpdf/FileInputSource.cc | |
parent | 1a888ee3b1eb296a610ddb8e5a28159b8c97ba99 (diff) | |
download | qpdf-bed165c9fc070d2c483d8cc9bd0e7ac299b29e23.tar.zst |
Stop using InputSource::unreadCh
Diffstat (limited to 'libqpdf/FileInputSource.cc')
-rw-r--r-- | libqpdf/FileInputSource.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/FileInputSource.cc b/libqpdf/FileInputSource.cc index cd8feda4..5ec6a170 100644 --- a/libqpdf/FileInputSource.cc +++ b/libqpdf/FileInputSource.cc @@ -80,7 +80,7 @@ FileInputSource::findAndSkipNextEOL() } else if (! ((ch == '\r') || (ch == '\n'))) { - this->unreadCh(ch); + this->seek(-1, SEEK_CUR); done = true; } } |