aboutsummaryrefslogtreecommitdiff
path: root/src/grids.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/grids.cpp')
-rw-r--r--src/grids.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grids.cpp b/src/grids.cpp
index ee5ecf52..b9da072c 100644
--- a/src/grids.cpp
+++ b/src/grids.cpp
@@ -3053,7 +3053,7 @@ PJ_LP pj_hgrid_apply(PJ_CONTEXT *ctx, const ListOfHGrids &grids, PJ_LP lp,
HorizontalShiftGridSet *gridset = nullptr;
const auto grid = findGrid(grids, lp, gridset);
if (!grid) {
- pj_ctx_set_errno(ctx, PJD_ERR_FAILED_TO_LOAD_GRID);
+ pj_ctx_set_errno(ctx, PJD_ERR_GRID_AREA);
return out;
}
if (grid->isNullGrid()) {