Commit 8b05c550b3ee4a61ada4aef6f530c9a41efaf8a5
1 parent
44dce4e2
Fix doc typos
Showing
1 changed file
with
2 additions
and
1 deletions
libqpdf/QPDF.cc
| @@ -1487,7 +1487,8 @@ QPDF::readObjectAtOffset( | @@ -1487,7 +1487,8 @@ QPDF::readObjectAtOffset( | ||
| 1487 | 1487 | ||
| 1488 | // Special case: if offset is 0, just return null. Some PDF writers, in particular | 1488 | // Special case: if offset is 0, just return null. Some PDF writers, in particular |
| 1489 | // "Mac OS X 10.7.5 Quartz PDFContext", may store deleted objects in the xref table as | 1489 | // "Mac OS X 10.7.5 Quartz PDFContext", may store deleted objects in the xref table as |
| 1490 | - // "0000000000 00000 n", which is not correct, but it won't hurt anything for to ignore these. | 1490 | + // "0000000000 00000 n", which is not correct, but it won't hurt anything for us to ignore |
| 1491 | + // these. | ||
| 1491 | if (offset == 0) { | 1492 | if (offset == 0) { |
| 1492 | QTC::TC("qpdf", "QPDF bogus 0 offset", 0); | 1493 | QTC::TC("qpdf", "QPDF bogus 0 offset", 0); |
| 1493 | warn(damagedPDF(0, "object has offset 0")); | 1494 | warn(damagedPDF(0, "object has offset 0")); |