From cf5c8cd32ebf39f7ff24c426ac00e75a7ae34da8 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Fri, 11 Jun 2010 03:26:04 +0000 Subject: roll projCtx through various other low level functions git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1856 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- src/pj_gridlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pj_gridlist.c') diff --git a/src/pj_gridlist.c b/src/pj_gridlist.c index 3277bb5c..9f48146f 100644 --- a/src/pj_gridlist.c +++ b/src/pj_gridlist.c @@ -194,7 +194,7 @@ PJ_GRIDINFO **pj_gridlist_from_nadgrids( projCtx ctx, const char *nadgrids, if( end_char > sizeof(name) ) { - pj_errno = -38; + pj_ctx_set_errno( ctx, -38 ); pj_release_lock(); return NULL; } @@ -210,7 +210,7 @@ PJ_GRIDINFO **pj_gridlist_from_nadgrids( projCtx ctx, const char *nadgrids, &grid_max) && required ) { - pj_errno = -38; + pj_ctx_set_errno( ctx, -38 ); pj_release_lock(); return NULL; } -- cgit v1.2.3