aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-02-26 15:04:02 +0100
committerEven Rouault <even.rouault@spatialys.com>2017-02-26 15:04:02 +0100
commit86cead6323c13936e327e232f394d6e2f54e6f8e (patch)
treefa1e4b09f944467128f65894cba8319a6cede489
parentb288ee6bbc345baf2ef56aaec49184c34a6cd0dd (diff)
downloadPROJ-86cead6323c13936e327e232f394d6e2f54e6f8e.tar.gz
PROJ-86cead6323c13936e327e232f394d6e2f54e6f8e.zip
Typo fixes
-rwxr-xr-xscripts/fix_typos.sh2
-rw-r--r--src/geodesic.c4
-rw-r--r--src/pj_malloc.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/scripts/fix_typos.sh b/scripts/fix_typos.sh
index 1e3e5b43..9fdb21cf 100755
--- a/scripts/fix_typos.sh
+++ b/scripts/fix_typos.sh
@@ -51,4 +51,4 @@ WORDS_WHITE_LIST="metres,als,lsat,twon,ang"
python3 fix_typos/codespell/codespell.py -w -i 3 -q 2 -S $EXCLUDED_FILES \
-x scripts/typos_whitelist.txt --words-white-list=$WORDS_WHITE_LIST \
- -D fix_typos/gdal_dict.txt .
+ -D fix_typos/gdal_dict.txt ./src ./docs ./cmake ./examples
diff --git a/src/geodesic.c b/src/geodesic.c
index fd964226..5c038a33 100644
--- a/src/geodesic.c
+++ b/src/geodesic.c
@@ -1487,7 +1487,7 @@ real A3f(const struct geod_geodesic* g, real eps) {
void C3f(const struct geod_geodesic* g, real eps, real c[]) {
/* Evaluate C3 coeffs
- * Elements c[1] thru c[nC3 - 1] are set */
+ * Elements c[1] through c[nC3 - 1] are set */
real mult = 1;
int o = 0, l;
for (l = 1; l < nC3; ++l) { /* l is index of C3[l] */
@@ -1500,7 +1500,7 @@ void C3f(const struct geod_geodesic* g, real eps, real c[]) {
void C4f(const struct geod_geodesic* g, real eps, real c[]) {
/* Evaluate C4 coeffs
- * Elements c[0] thru c[nC4 - 1] are set */
+ * Elements c[0] through c[nC4 - 1] are set */
real mult = 1;
int o = 0, l;
for (l = 0; l < nC4; ++l) { /* l is index of C4[l] */
diff --git a/src/pj_malloc.c b/src/pj_malloc.c
index b9d8f825..df6c6ed7 100644
--- a/src/pj_malloc.c
+++ b/src/pj_malloc.c
@@ -3,7 +3,7 @@
* Purpose: Memory management for proj.4.
* This version includes an implementation of generic destructors,
* for memory deallocation for the large majority of PJ-objects
- * that do not allocate anything alse than the PJ-object itself,
+ * that do not allocate anything else than the PJ-object itself,
* and its associated opaque object - i.e. no additional malloc'ed
* memory inside the opaque object.
*