Commit 3ab25d595b0dcfbcf2974faf526683d795cba1a9

Authored by Jay Berkenbilt
1 parent 4577df4b

Fix doc typos caught by m-holger -- thanks

include/qpdf/QPDFArgParser.hh
@@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
35 // crafted to work with qpdf. qpdf's command-line syntax is very 35 // crafted to work with qpdf. qpdf's command-line syntax is very
36 // complex because of its long history, and it doesn't really follow 36 // complex because of its long history, and it doesn't really follow
37 // any kind of normal standard for arguments, but it's important for 37 // any kind of normal standard for arguments, but it's important for
38 -// backward compatibility not ensure we don't break what constitutes a 38 +// backward compatibility to ensure we don't break what constitutes a
39 // valid command. This class handles the quirks of qpdf's argument 39 // valid command. This class handles the quirks of qpdf's argument
40 // parsing, bash/zsh completion, and support for @argfile to read 40 // parsing, bash/zsh completion, and support for @argfile to read
41 // arguments from a file. 41 // arguments from a file.
libqpdf/QPDFJob.cc
@@ -710,7 +710,7 @@ QPDFJob::doCheck(QPDF& pdf) @@ -710,7 +710,7 @@ QPDFJob::doCheck(QPDF& pdf)
710 cout << "File is not linearized\n"; 710 cout << "File is not linearized\n";
711 } 711 }
712 712
713 - // Write the file no nowhere, uncompressing 713 + // Write the file to nowhere, uncompressing
714 // streams. This causes full file traversal and 714 // streams. This causes full file traversal and
715 // decoding of all streams we can decode. 715 // decoding of all streams we can decode.
716 QPDFWriter w(pdf); 716 QPDFWriter w(pdf);
@@ -1970,7 +1970,7 @@ QPDFJob::doProcess( @@ -1970,7 +1970,7 @@ QPDFJob::doProcess(
1970 // a password encoded in PDF Doc encoding or Windows code page 1970 // a password encoded in PDF Doc encoding or Windows code page
1971 // 1252 for an AES-encrypted file or a UTF-8-encoded password on 1971 // 1252 for an AES-encrypted file or a UTF-8-encoded password on
1972 // an RC4-encrypted file, or if the password was properly encoded 1972 // an RC4-encrypted file, or if the password was properly encoded
1973 - // by the password given here was incorrectly encoded, there's a 1973 + // but the password given here was incorrectly encoded, there's a
1974 // good chance we'd succeed here. 1974 // good chance we'd succeed here.
1975 1975
1976 std::string ptemp; 1976 std::string ptemp;
@@ -2754,7 +2754,7 @@ QPDFJob::handlePageSpecs( @@ -2754,7 +2754,7 @@ QPDFJob::handlePageSpecs(
2754 // survives through copying to the output but gets cleaned up 2754 // survives through copying to the output but gets cleaned up
2755 // automatically at the end. Do not canonicalize the file 2755 // automatically at the end. Do not canonicalize the file
2756 // name. Using two different paths to refer to the same 2756 // name. Using two different paths to refer to the same
2757 - // file is a document workaround for duplicating a page. 2757 + // file is a documented workaround for duplicating a page.
2758 // If you are using this an example of how to do this with 2758 // If you are using this an example of how to do this with
2759 // the API, you can just create two different QPDF objects 2759 // the API, you can just create two different QPDF objects
2760 // to the same underlying file with the same path to 2760 // to the same underlying file with the same path to