From aff951c3594a4949b58ab47c2036ac79040a1071 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 29 Dec 2019 20:12:09 +0000 Subject: Fix typos in comments and messages, whitespace git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3726 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- generator/pgmnoise.c | 2 +- generator/ppmforge.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'generator') 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 */ -- cgit 1.4.1