From 3c5700c255f4603b5df9c6d183d13dd71a083cc3 Mon Sep 17 00:00:00 2001 From: m-holger Date: Sat, 27 May 2023 18:19:52 +0100 Subject: Code tidy - reflow comments and strings --- examples/pdf-c-objects.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'examples/pdf-c-objects.c') 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 #include @@ -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); -- cgit v1.2.3-54-g00ecf