aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/Pl_Count.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/Pl_Count.cc')
-rw-r--r--libqpdf/Pl_Count.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libqpdf/Pl_Count.cc b/libqpdf/Pl_Count.cc
index 65fd9e3f..067f7cdb 100644
--- a/libqpdf/Pl_Count.cc
+++ b/libqpdf/Pl_Count.cc
@@ -25,8 +25,7 @@ Pl_Count::~Pl_Count()
void
Pl_Count::write(unsigned char* buf, size_t len)
{
- if (len)
- {
+ if (len) {
this->m->count += QIntC::to_offset(len);
this->m->last_char = buf[len - 1];
getNext()->write(buf, len);