diff options
| author | Frank Warmerdam <warmerdam@pobox.com> | 2010-06-11 01:51:24 +0000 |
|---|---|---|
| committer | Frank Warmerdam <warmerdam@pobox.com> | 2010-06-11 01:51:24 +0000 |
| commit | ec678c07c2acb83da8a2187c541b8a2e452dec4b (patch) | |
| tree | a4c004a6e88d7330fe9d1c6ed793129831b5bdca /src/pj_utils.c | |
| parent | a7290836114dc82b35eceb1efcb5ecdf605d335f (diff) | |
| download | PROJ-ec678c07c2acb83da8a2187c541b8a2e452dec4b.tar.gz PROJ-ec678c07c2acb83da8a2187c541b8a2e452dec4b.zip | |
preliminary implementation of projCtx API
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1854 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src/pj_utils.c')
| -rw-r--r-- | src/pj_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pj_utils.c b/src/pj_utils.c index d1193cd2..89f5bda2 100644 --- a/src/pj_utils.c +++ b/src/pj_utils.c @@ -108,7 +108,7 @@ PJ *pj_latlong_from_proj( PJ *pj_in ) } else { - pj_errno = -13; + pj_ctx_set_errno( pj_in->ctx, -13 ); return NULL; } @@ -151,6 +151,6 @@ PJ *pj_latlong_from_proj( PJ *pj_in ) sprintf( defn+strlen(defn), " +pm=%s", pj_param(pj_in->params,"spm").s ); - return pj_init_plus( defn ); + return pj_init_plus_ctx( pj_in->ctx, defn ); } |
