diff options
Diffstat (limited to 'src/pj_ell_set.c')
| -rw-r--r-- | src/pj_ell_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_ell_set.c b/src/pj_ell_set.c index 989701ec..56cabd4c 100644 --- a/src/pj_ell_set.c +++ b/src/pj_ell_set.c @@ -21,7 +21,7 @@ pj_ell_set(paralist *pl, double *a, double *es) { else { /* probable elliptical figure */ /* check if ellps present and temporarily append its values to pl */ - if (name = pj_param(pl, "sellps").s) { + if ((name = pj_param(pl, "sellps").s) != NULL) { char *s; for (start = pl; start && start->next ; start = start->next) ; |
