summary refs log tree commit diff
path: root/libnetpbm_ug.html
diff options
context:
space:
mode:
Diffstat (limited to 'libnetpbm_ug.html')
-rw-r--r--libnetpbm_ug.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/libnetpbm_ug.html b/libnetpbm_ug.html
index 51da49de..4ead55c5 100644
--- a/libnetpbm_ug.html
+++ b/libnetpbm_ug.html
@@ -290,7 +290,7 @@ the type of a tuple to one with more or fewer planes.
 When reading an image, this contains the comments from the image's PAM
 header; when writing, the image gets these as comments, right after
 the magic number line.  The individual comments are delimited by
-newlines and are in the same order as in the PAM header.  The "#"
+newlines and are in the same order as in the PAM header.  The "#"
 at the beginning of a PAM header line that indicates the line is a comment
 is not part of the comment.
 
@@ -308,8 +308,8 @@ does not return comments and does not allocate any storage.
     ...
     pam.comment_p = &comments;
     pnm_readpaminit(fileP, &pam, PAM_STRUCT_SIZE(comment_p));
-    printf("The comments are:\n");
-    printf("%s", comments)
+    printf("The comments are:\n");
+    printf("%s", comments)
     free(comments);
 </code>
 </pre>
@@ -318,7 +318,7 @@ does not return comments and does not allocate any storage.
 <code>
     const char * comments;
     ...
-    comments = strdup(&quot;This is a comment 1\nThis is comment 2\n&quot;);
+    comments = strdup("This is a comment 1\nThis is comment 2\n");
     pam.comment_p = &amp;comments;
     pnm_writepaminit(&amp;pam);
     free(comments);