Skip to content

Commit 79800bd

Browse files
committed
Increase number of decimals when reporting increments in grdedit -A
1 parent 325e3cc commit 79800bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/grdedit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ EXTERN_MSC int GMT_grdedit (void *V_API, int mode, void *args) {
595595
if (Ctrl->A.active) {
596596
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);
597597
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);
598-
GMT_Report (API, GMT_MSG_INFORMATION, "Reset grid-spacing in file %s to %g/%g\n",
598+
GMT_Report (API, GMT_MSG_INFORMATION, "Reset grid-spacing in file %s to %.14g/%.14g\n",
599599
out_file, G->header->inc[GMT_X], G->header->inc[GMT_Y]);
600600
}
601601
if (gmt_M_is_geographic (GMT, GMT_IN) && gmt_M_is_cartesian (GMT, GMT_OUT)) { /* Force a switch from geographic to Cartesian */

0 commit comments

Comments
 (0)