From 79800bdf95bf29945c713144f4df4fe5b4833ecb Mon Sep 17 00:00:00 2001 From: Joaquim Date: Fri, 3 Jan 2025 02:01:35 +0000 Subject: [PATCH] Increase number of decimals when reporting increments in grdedit -A --- src/grdedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grdedit.c b/src/grdedit.c index 052ec946535..1e2ae3624b8 100644 --- a/src/grdedit.c +++ b/src/grdedit.c @@ -595,7 +595,7 @@ EXTERN_MSC int GMT_grdedit (void *V_API, int mode, void *args) { if (Ctrl->A.active) { G->header->inc[GMT_X] = gmt_M_get_inc (GMT, G->header->wesn[XLO], G->header->wesn[XHI], G->header->n_columns, G->header->registration); G->header->inc[GMT_Y] = gmt_M_get_inc (GMT, G->header->wesn[YLO], G->header->wesn[YHI], G->header->n_rows, G->header->registration); - GMT_Report (API, GMT_MSG_INFORMATION, "Reset grid-spacing in file %s to %g/%g\n", + GMT_Report (API, GMT_MSG_INFORMATION, "Reset grid-spacing in file %s to %.14g/%.14g\n", out_file, G->header->inc[GMT_X], G->header->inc[GMT_Y]); } if (gmt_M_is_geographic (GMT, GMT_IN) && gmt_M_is_cartesian (GMT, GMT_OUT)) { /* Force a switch from geographic to Cartesian */