aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pdf-c-objects.c
diff options
context:
space:
mode:
authorJay Berkenbilt <jberkenbilt@users.noreply.github.com>2023-06-17 15:26:16 +0200
committerGitHub <noreply@github.com>2023-06-17 15:26:16 +0200
commit44dce4e2988ec09e36dfb6d1fc527a143e6f597f (patch)
tree3cdb1999faeb5103eb87c36fb1673d8cbb5ab082 /examples/pdf-c-objects.c
parentfc30e75122f6bef20ac8d676ac7cb8822feecf3e (diff)
parentacd0acf16931ce92bc908e4960c5a1e43d53b550 (diff)
downloadqpdf-44dce4e2988ec09e36dfb6d1fc527a143e6f597f.tar.zst
Merge pull request #978 from m-holger/reflow
Code tidy - reflow comments and strings
Diffstat (limited to 'examples/pdf-c-objects.c')
-rw-r--r--examples/pdf-c-objects.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/examples/pdf-c-objects.c b/examples/pdf-c-objects.c
index f4b872a7..171a9b66 100644
--- a/examples/pdf-c-objects.c
+++ b/examples/pdf-c-objects.c
@@ -1,7 +1,4 @@
-/*
- * This is an example program to demonstrate use of object handle
- * functions in the C API.
- */
+/* This is an example program to demonstrate use of object handle functions in the C API. */
#include <qpdf/qpdf-c.h>
#include <stdio.h>
@@ -20,8 +17,7 @@ usage()
QPDF_BOOL
modify_file(qpdf_data qpdf)
{
- /* This small example performs the following operation on the
- * document catalog (a.k.a. root):
+ /* This small example performs the following operation on the document catalog (a.k.a. root):
* - Remove PageLayout
* - Remove OpenAction
* - If there are outlines, set PageMode to UseOutlines; otherwise,
@@ -72,8 +68,7 @@ main(int argc, char* argv[])
if (((qpdf_read(qpdf, infile, password) & QPDF_ERRORS) == 0) && modify_file(qpdf) &&
((qpdf_init_write(qpdf, outfile) & QPDF_ERRORS) == 0)) {
- /* Use static ID for testing only. For production, a
- * non-static ID is used. See also
+ /* Use static ID for testing only. For production, a non-static ID is used. See also
* qpdf_set_deterministic_ID. */
qpdf_set_static_ID(qpdf, QPDF_TRUE); /* for testing only */
qpdf_write(qpdf);