Skip to content

Commit

Permalink
msProjIsGeographicCRS(): in PROJ < 6 mode, make it return FALSE when …
Browse files Browse the repository at this point in the history
…PJ* is NULL
  • Loading branch information
rouault committed Aug 21, 2021
1 parent 3def5fc commit 62e0328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapproject.c
Expand Up @@ -2605,7 +2605,7 @@ int msProjIsGeographicCRS(projectionObj* proj)
}
return FALSE;
#else
return pj_is_latlong(proj->proj);
return proj->proj != NULL && pj_is_latlong(proj->proj);
#endif
}

Expand Down

0 comments on commit 62e0328

Please sign in to comment.