From 4704ef816d45ad4b38f9bf5bacbfa9d62a66fd72 Mon Sep 17 00:00:00 2001 From: Thomas Knudsen Date: Mon, 27 Nov 2023 14:08:55 +0100 Subject: [PATCH] Repair logging messages in axisswap With this commit, `axisswap` no longer presents itself as `swapaxis` in the logging messages. --- src/conversions/axisswap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conversions/axisswap.cpp b/src/conversions/axisswap.cpp index dce442f8f3..1435343fa9 100644 --- a/src/conversions/axisswap.cpp +++ b/src/conversions/axisswap.cpp @@ -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); } @@ -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); }