aboutsummaryrefslogtreecommitdiff
path: root/src/pj_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_ctx.c')
-rw-r--r--src/pj_ctx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pj_ctx.c b/src/pj_ctx.c
index 6626d5ee..54e2cfb7 100644
--- a/src/pj_ctx.c
+++ b/src/pj_ctx.c
@@ -85,6 +85,7 @@ projCtx pj_get_default_ctx()
default_context.app_data = NULL;
default_context.fileapi = pj_get_default_fileapi();
default_context.cpp_context = NULL;
+ default_context.use_proj4_init_rules = FALSE;
if( getenv("PROJ_DEBUG") != NULL )
{
@@ -114,6 +115,7 @@ projCtx pj_ctx_alloc()
memcpy( ctx, pj_get_default_ctx(), sizeof(projCtx_t) );
ctx->last_errno = 0;
ctx->cpp_context = NULL;
+ ctx->use_proj4_init_rules = FALSE;
return ctx;
}