about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-10-03 00:04:00 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-10-03 00:04:00 +0000
commit9b17619742e42e7af1cafcd87febd1c543c355bf (patch)
treef7b1c9b2b803d587d6acffadab8ac5cfae75721a /lib
parent13448a9ced3d4ad1582e81980decf78a727a078b (diff)
downloadnetpbm-mirror-9b17619742e42e7af1cafcd87febd1c543c355bf.tar.gz
netpbm-mirror-9b17619742e42e7af1cafcd87febd1c543c355bf.tar.xz
netpbm-mirror-9b17619742e42e7af1cafcd87febd1c543c355bf.zip
typos in comments
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1582 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib')
-rw-r--r--lib/libpammap.c4
-rw-r--r--lib/util/shhopt.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpammap.c b/lib/libpammap.c
index f73ec45e..8477875a 100644
--- a/lib/libpammap.c
+++ b/lib/libpammap.c
@@ -189,7 +189,7 @@ addColorOccurrenceToHash(tuple          const color,
          p = p->next);
 
     if (p) {
-        /* It's in the hash; just tally one more occurence */
+        /* It's in the hash; just tally one more occurrence */
         ++p->tupleint.value;
         *fullP = FALSE;
     } else {
@@ -227,7 +227,7 @@ pnm_addtuplefreqoccurrence(struct pam *   const pamP,
          p = p->next);
 
     if (p) {
-        /* It's in the hash; just tally one more occurence */
+        /* It's in the hash; just tally one more occurrence */
         ++p->tupleint.value;
         *firstOccurrenceP = FALSE;
     } else {
diff --git a/lib/util/shhopt.c b/lib/util/shhopt.c
index 2e7c6abd..4f7ce9c7 100644
--- a/lib/util/shhopt.c
+++ b/lib/util/shhopt.c
@@ -849,7 +849,7 @@ parse_long_option(char *   const argv[],
  |
  |                This differs from pm_optParseOptions in that it accepts
  |                long options with just one hyphen and doesn't accept
- |                any short options.  It also has accomodations for 
+ |                any short options.  It also has accommodations for 
  |                future expansion.
  |
  |                Options and arguments used are removed from the argv-
@@ -934,7 +934,7 @@ zero_specified(optEntry opt_table[]) {
  |
  |                This differs from pm_optParseOptions in that it accepts
  |                long options with just one hyphen and doesn't accept
- |                any short options.  It also has accomodations for 
+ |                any short options.  It also has accommodations for 
  |                future expansion.
  |
  |                Options and arguments used are removed from the argv-