Skip to content

Commit

Permalink
Merge pull request OSGeo#3971 from OSGeo/busstoptaktik-patch-1
Browse files Browse the repository at this point in the history
Repair logging messages in axisswap
  • Loading branch information
rouault authored Nov 27, 2023
2 parents 1de33f5 + 4704ef8 commit 7786334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/conversions/axisswap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ PJ *CONVERSION(axisswap, 0) {
if (i == j)
continue;
if (Q->axis[i] == Q->axis[j]) {
proj_log_error(P, _("swapaxis: duplicate axes specified"));
proj_log_error(P, _("axisswap: duplicate axes specified"));
return pj_default_destructor(
P, PROJ_ERR_INVALID_OP_ILLEGAL_ARG_VALUE);
}
Expand All @@ -285,7 +285,7 @@ PJ *CONVERSION(axisswap, 0) {
}

if (P->fwd4d == nullptr && P->fwd3d == nullptr && P->fwd == nullptr) {
proj_log_error(P, _("swapaxis: bad axis order"));
proj_log_error(P, _("axisswap: bad axis order"));
return pj_default_destructor(P, PROJ_ERR_INVALID_OP_ILLEGAL_ARG_VALUE);
}

Expand Down

0 comments on commit 7786334

Please sign in to comment.