about summary refs log tree commit diff
path: root/editor/pamthreshold.c
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 /editor/pamthreshold.c
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 'editor/pamthreshold.c')
-rw-r--r--editor/pamthreshold.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/pamthreshold.c b/editor/pamthreshold.c
index 15ed271a..8369602d 100644
--- a/editor/pamthreshold.c
+++ b/editor/pamthreshold.c
@@ -302,7 +302,7 @@ analyzeDistribution(struct pam *          const inpamP,
         pm_error("Unable to allocate space for %lu-entry histogram",
                  inpamP->maxval+1);
 
-    /* Initialize histogram -- zero occurences of everything */
+    /* Initialize histogram -- zero occurrences of everything */
     for (i = 0; i <= inpamP->maxval; ++i)
         histogram[i] = 0;
 
@@ -376,7 +376,7 @@ computeGlobalThreshold(struct pam *         const inpamP,
    Compute the proper threshold to use for the image described by
    *inpamP, and:
 
-     'histogram' describes the frequency of occurence of the various sample
+     'histogram' describes the frequency of occurrence of the various sample
      values in the image.
 
      'globalRange' describes the range (minimum, maximum) of sample values