aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/pj_obs_api_mini_demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pj_obs_api_mini_demo.c b/examples/pj_obs_api_mini_demo.c
index 83a13db1..94520490 100644
--- a/examples/pj_obs_api_mini_demo.c
+++ b/examples/pj_obs_api_mini_demo.c
@@ -58,7 +58,7 @@ int main (void) {
/* transform to UTM zone 32, then back to geographical */
b = proj_trans (P, PJ_FWD, a);
- printf ("easting: %g, northing: %g\n", b.enu.e, b.en.n);
+ printf ("easting: %g, northing: %g\n", b.enu.e, b.enu.n);
b = proj_trans (P, PJ_INV, b);
printf ("longitude: %g, latitude: %g\n", b.lp.lam, b.lp.phi);