From 448dc01f612e2a48d49630335d2eb48ef8458cd7 Mon Sep 17 00:00:00 2001 From: Greg Sjaardema Date: Wed, 11 Oct 2023 12:58:52 -0600 Subject: [PATCH] EXODUS: Fix suffix handling in name building --- packages/seacas/libraries/exodus/src/ex_field_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/seacas/libraries/exodus/src/ex_field_utils.c b/packages/seacas/libraries/exodus/src/ex_field_utils.c index f8598ab396..8946019488 100644 --- a/packages/seacas/libraries/exodus/src/ex_field_utils.c +++ b/packages/seacas/libraries/exodus/src/ex_field_utils.c @@ -50,7 +50,7 @@ const char *ex_component_field_name(ex_field *field, int component[EX_MAX_FIELD_ field_name[fnl] = field->component_separator[i]; field_name[fnl + 1] = '\0'; } - strlcat(field_name, suffices[0], EX_MAX_NAME); + strlcat(field_name, suffices[i], EX_MAX_NAME); } return field_name; }