From e94fae142ff148d868cfb1e914cd88e56e422907 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Fri, 17 Feb 2023 00:25:14 -0600 Subject: [PATCH] Update: Use f_string_dynamic_append_nulless() instead of f_string_dynamic_append(). Switch to the nulless version to favor sanity over performance. --- level_3/fake/c/private-build-load.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/level_3/fake/c/private-build-load.c b/level_3/fake/c/private-build-load.c index 838be81..410a551 100644 --- a/level_3/fake/c/private-build-load.c +++ b/level_3/fake/c/private-build-load.c @@ -625,18 +625,18 @@ extern "C" { break; } - *status = f_string_dynamic_append(settings_name[j], &settings_mode_names[j]); + *status = f_string_dynamic_append_nulless(settings_name[j], &settings_mode_names[j]); if (F_status_is_error_not(*status)) { - *status = f_string_dynamic_append(f_string_ascii_minus_s, &settings_mode_names[j]); + *status = f_string_dynamic_append_nulless(f_string_ascii_minus_s, &settings_mode_names[j]); } if (F_status_is_error_not(*status)) { - *status = f_string_dynamic_append(modes->array[i], &settings_mode_names[j]); + *status = f_string_dynamic_append_nulless(modes->array[i], &settings_mode_names[j]); } if (F_status_is_error(*status)) { - function = "f_string_dynamic_append"; + function = "f_string_dynamic_append_nulless"; break; } -- 1.8.3.1