diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-04-02 23:14:10 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-04-04 14:10:40 +0200 |
commit | 12f1eb15ca3fed6310402847559a7c99d3c77847 (patch) | |
tree | 8935675b623c6f3b4914b8b44f7fa5f2816a9241 /libqpdf/Pl_Count.cc | |
parent | f20fa61eb4c323eb1642c69c236b3d9a1f8b2cdb (diff) | |
download | qpdf-12f1eb15ca3fed6310402847559a7c99d3c77847.tar.zst |
Programmatically apply new formatting to code
Run this:
for i in **/*.cc **/*.c **/*.h **/*.hh; do
clang-format < $i >| $i.new && mv $i.new $i
done
Diffstat (limited to 'libqpdf/Pl_Count.cc')
-rw-r--r-- | libqpdf/Pl_Count.cc | 3 |
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); |