about summary refs log tree commit diff
path: root/generator
diff options
context:
space:
mode:
Diffstat (limited to 'generator')
-rw-r--r--generator/pgmnoise.c2
-rw-r--r--generator/ppmforge.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/generator/pgmnoise.c b/generator/pgmnoise.c
index 40d0e189..f76009b2 100644
--- a/generator/pgmnoise.c
+++ b/generator/pgmnoise.c
@@ -139,7 +139,7 @@ pgmnoise(FILE *       const ofP,
     /* If maxval is 2^n-1, we draw exactly n bits from the pool.
        Otherwise call rand() and determine gray value by modulo.
 
-       In the latter case, there is a miniscule skew toward 0 (=black)
+       In the latter case, there is a minuscule skew toward 0 (=black)
        because smaller numbers are produced more frequently by modulo.
        Thus we employ the pool method only when it is certain that no
        skew will ensue.
diff --git a/generator/ppmforge.c b/generator/ppmforge.c
index fe80f529..8fec9fee 100644
--- a/generator/ppmforge.c
+++ b/generator/ppmforge.c
@@ -49,7 +49,7 @@ static double const hugeVal = 1e50;
 #define Real(v, x, y)  v[1 + (((x) * meshsize) + (y)) * 2]
 #define Imag(v, x, y)  v[2 + (((x) * meshsize) + (y)) * 2]
 
-/* Co-ordinate indices within arrays. */
+/* Coordinate indices within arrays. */
 
 typedef struct {
     double x;
@@ -71,7 +71,7 @@ static int meshsize = 256;        /* FFT mesh size */
 static double inclangle, hourangle;   /* Star position relative to planet */
 static bool inclspec = FALSE;      /* No inclination specified yet */
 static bool hourspec = FALSE;      /* No hour specified yet */
-static double icelevel;           /* Ice cap theshold */
+static double icelevel;           /* Ice cap threshold */
 static double glaciers;           /* Glacier level */
 static int starfraction;          /* Star fraction */
 static int starcolor;            /* Star color saturation */