From 62c0269af377bd6298c8fd6caf31f69793e2c298 Mon Sep 17 00:00:00 2001 From: Joaquim Date: Tue, 4 Jun 2024 00:49:52 +0100 Subject: [PATCH] Update src/gmt_init.c Co-authored-by: Dongdong Tian --- src/gmt_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gmt_init.c b/src/gmt_init.c index ddcee2fe2c0..7bb23051f65 100644 --- a/src/gmt_init.c +++ b/src/gmt_init.c @@ -12649,7 +12649,7 @@ char *gmtlib_getparameter (struct GMT_CTRL *GMT, const char *keyword) { case_val = gmt_hash_lookup (GMT, keyword, keys_hashnode, GMT_N_KEYS, GMT_N_KEYS); switch (case_val) { - case GMTCASE_SET_RUN_MODE: /* Gat the current running mode CLASSIC or MODERN */ + case GMTCASE_GMT_RUN_MODE: /* Gat the current running mode CLASSIC or MODERN */ sprintf (value, "%d", GMT->current.setting.run_mode); break; /* FORMAT GROUP */