Skip to content

Commit

Permalink
Repair logging messages in axisswap
Browse files Browse the repository at this point in the history
With this commit, `axisswap` no longer presents itself as `swapaxis` in the logging messages.
  • Loading branch information
busstoptaktik authored Nov 27, 2023
1 parent 89d06fa commit 4704ef8
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 4704ef8

Please sign in to comment.