about summary refs log tree commit diff
path: root/editor/pnmpaste.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-12-26 18:31:30 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-12-26 18:31:30 +0000
commit438d4e0aff3c4829bdd93c473117d8c680480f67 (patch)
treeb147568ccffc4cdba9e2a98de1452450ba8e55c3 /editor/pnmpaste.c
parent69bd3c36d6eaaaa74f14e841103d5c2f2ed6f6d1 (diff)
downloadnetpbm-mirror-438d4e0aff3c4829bdd93c473117d8c680480f67.tar.gz
netpbm-mirror-438d4e0aff3c4829bdd93c473117d8c680480f67.tar.xz
netpbm-mirror-438d4e0aff3c4829bdd93c473117d8c680480f67.zip
Promote Development to Advanced: 10.73.00
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2671 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/pnmpaste.c')
-rw-r--r--editor/pnmpaste.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/editor/pnmpaste.c b/editor/pnmpaste.c
index a47e1d66..1e29d933 100644
--- a/editor/pnmpaste.c
+++ b/editor/pnmpaste.c
@@ -21,7 +21,7 @@
 
 enum boolOp {REPLACE, AND, OR, XOR /*, NAND, NOR, NXOR */ };
 
-struct cmdlineInfo {
+struct CmdlineInfo {
     /* All the information the user supplied in the command line,
        in a form easy for the program to use.
     */
@@ -36,7 +36,7 @@ struct cmdlineInfo {
 
 static void
 parseCommandLine(int argc, const char ** argv,
-                 struct cmdlineInfo * const cmdlineP) {
+                 struct CmdlineInfo * const cmdlineP) {
 /*----------------------------------------------------------------------------
    Note that the file spec array we return is stored in the storage that
    was passed to us as the argv array.
@@ -178,8 +178,8 @@ insertDirect(FILE *          const ifP,
         }
     }
 
-    /* destrow[] now contains garbage in the cols % 8 rightmost bits of the
-       last byte we touched.  Those are supposed to be unchanged from the
+    /* destrow[] now contains garbage in all but the cols % 8 leftmost bits of
+       the last byte we touched.  Those are supposed to be unchanged from the
        input, so we restore them now.
     */
     if (cols % 8 > 0)
@@ -354,7 +354,7 @@ pasteNonPbm(FILE *       const fpInset,
 int
 main(int argc, const char ** argv) {
 
-    struct cmdlineInfo cmdline;
+    struct CmdlineInfo cmdline;
     FILE * fpInset;
     FILE * fpBase;
     xelval maxvalInset, maxvalBase;