aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-06 21:33:29 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commit3ab25d595b0dcfbcf2974faf526683d795cba1a9 (patch)
treef2532210d6d0726c9d227362c10f2cd9489ec1a5
parent4577df4b5ddf363f5f877fe3b4b4c9ae710c9d55 (diff)
downloadqpdf-3ab25d595b0dcfbcf2974faf526683d795cba1a9.tar.zst
Fix doc typos caught by m-holger -- thanks
-rw-r--r--include/qpdf/QPDFArgParser.hh2
-rw-r--r--libqpdf/QPDFJob.cc6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/qpdf/QPDFArgParser.hh b/include/qpdf/QPDFArgParser.hh
index 15c17399..7054a706 100644
--- a/include/qpdf/QPDFArgParser.hh
+++ b/include/qpdf/QPDFArgParser.hh
@@ -35,7 +35,7 @@
// crafted to work with qpdf. qpdf's command-line syntax is very
// complex because of its long history, and it doesn't really follow
// any kind of normal standard for arguments, but it's important for
-// backward compatibility not ensure we don't break what constitutes a
+// backward compatibility to ensure we don't break what constitutes a
// valid command. This class handles the quirks of qpdf's argument
// parsing, bash/zsh completion, and support for @argfile to read
// arguments from a file.
diff --git a/libqpdf/QPDFJob.cc b/libqpdf/QPDFJob.cc
index a2bf668e..a18c4efc 100644
--- a/libqpdf/QPDFJob.cc
+++ b/libqpdf/QPDFJob.cc
@@ -710,7 +710,7 @@ QPDFJob::doCheck(QPDF& pdf)
cout << "File is not linearized\n";
}
- // Write the file no nowhere, uncompressing
+ // Write the file to nowhere, uncompressing
// streams. This causes full file traversal and
// decoding of all streams we can decode.
QPDFWriter w(pdf);
@@ -1970,7 +1970,7 @@ QPDFJob::doProcess(
// a password encoded in PDF Doc encoding or Windows code page
// 1252 for an AES-encrypted file or a UTF-8-encoded password on
// an RC4-encrypted file, or if the password was properly encoded
- // by the password given here was incorrectly encoded, there's a
+ // but the password given here was incorrectly encoded, there's a
// good chance we'd succeed here.
std::string ptemp;
@@ -2754,7 +2754,7 @@ QPDFJob::handlePageSpecs(
// survives through copying to the output but gets cleaned up
// automatically at the end. Do not canonicalize the file
// name. Using two different paths to refer to the same
- // file is a document workaround for duplicating a page.
+ // file is a documented workaround for duplicating a page.
// If you are using this an example of how to do this with
// the API, you can just create two different QPDF objects
// to the same underlying file with the same path to