aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/FileInputSource.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-10-18 13:43:05 +0200
committerJay Berkenbilt <ejb@ql.org>2020-10-18 13:43:05 +0200
commitbed165c9fc070d2c483d8cc9bd0e7ac299b29e23 (patch)
tree8ce776a0d080bfcf28d42d91aa2e8e1cbfa0c6fa /libqpdf/FileInputSource.cc
parent1a888ee3b1eb296a610ddb8e5a28159b8c97ba99 (diff)
downloadqpdf-bed165c9fc070d2c483d8cc9bd0e7ac299b29e23.tar.zst
Stop using InputSource::unreadCh
Diffstat (limited to 'libqpdf/FileInputSource.cc')
-rw-r--r--libqpdf/FileInputSource.cc2
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;
}
}