aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/PJ_igh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PJ_igh.c b/src/PJ_igh.c
index 7e1adf68..5a019a9a 100644
--- a/src/PJ_igh.c
+++ b/src/PJ_igh.c
@@ -177,6 +177,7 @@ static void freeup (PJ *P) {
#define SETUP(n, proj, x_0, y_0, lon_0) \
if (!(Q->pj[n-1] = pj_##proj(0))) E_ERROR_0; \
if (!(Q->pj[n-1] = pj_##proj(Q->pj[n-1]))) E_ERROR_0; \
+ Q->pj[n-1]->ctx = P->ctx; \
Q->pj[n-1]->x0 = x_0; \
Q->pj[n-1]->y0 = y_0; \
Q->pj[n-1]->lam0 = lon_0;