aboutsummaryrefslogtreecommitdiff
path: root/src/projects.h
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-03-11 15:38:30 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-03-11 15:38:30 +0100
commita3f5d6dff3587d3a1225c607359c241107232470 (patch)
tree755bad119aec75c78287df7d57281c4634b38c84 /src/projects.h
parentab87b8ef0af7ef888b7d810db610ead6eb784d71 (diff)
downloadPROJ-a3f5d6dff3587d3a1225c607359c241107232470.tar.gz
PROJ-a3f5d6dff3587d3a1225c607359c241107232470.zip
typo fix: Rename PJD_ERR_UNKNOW_UNIT_ID as PJD_ERR_UNKNOWN_UNIT_ID
Original mispelled constant kept for backward compatibility.
Diffstat (limited to 'src/projects.h')
-rw-r--r--src/projects.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/projects.h b/src/projects.h
index 25ff82a4..5c8d1301 100644
--- a/src/projects.h
+++ b/src/projects.h
@@ -535,7 +535,8 @@ enum deprecated_constants_for_now_dropped_analytical_factors {
#define PJD_ERR_PROJ_NOT_NAMED -4
#define PJD_ERR_UNKNOWN_PROJECTION_ID -5
#define PJD_ERR_ECCENTRICITY_IS_ONE -6
-#define PJD_ERR_UNKNOW_UNIT_ID -7
+#define PJD_ERR_UNKNOW_UNIT_ID -7 /* deprecated: typo */
+#define PJD_ERR_UNKNOWN_UNIT_ID -7
#define PJD_ERR_INVALID_BOOLEAN_PARAM -8
#define PJD_ERR_UNKNOWN_ELLP_PARAM -9
#define PJD_ERR_REV_FLATTENING_IS_ZERO -10