Commit 631c53450426b3509ca0bbb878f69c686befe087

Authored by m-holger
1 parent 21e3a06b

Fix typo in warning message formatting in `QPDFParser.cc` and related test output

libqpdf/QPDFParser.cc
... ... @@ -172,7 +172,7 @@ QPDFParser::parse(bool content_stream)
172 172 } catch (std::logic_error& e) {
173 173 throw e;
174 174 } catch (std::exception& e) {
175   - warn("treating object as null because of error during parsing : "s + e.what());
  175 + warn("treating object as null because of error during parsing: "s + e.what());
176 176 return {};
177 177 }
178 178 }
... ...
qpdf/qtest/qpdf/issue-150.out
1 1 WARNING: issue-150.pdf: can't find PDF header
2   -WARNING: issue-150.pdf (xref stream: object 8 0, offset 56): treating object as null because of error during parsing : overflow/underflow converting 9900000000000000000 to 64-bit integer
  2 +WARNING: issue-150.pdf (xref stream: object 8 0, offset 56): treating object as null because of error during parsing: overflow/underflow converting 9900000000000000000 to 64-bit integer
3 3 WARNING: issue-150.pdf: file is damaged
4 4 WARNING: issue-150.pdf (offset 4): xref not found
5 5 WARNING: issue-150.pdf: Attempting to reconstruct cross-reference table
... ...