From: Kevin Day Date: Sun, 25 Feb 2024 17:37:37 +0000 (-0600) Subject: Bugfix: Incorrect mode display when featureless make is building settings. X-Git-Tag: 0.6.9~6 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=e70ac676f1907f17bcf24e428008183b8ccb96f5;p=fll Bugfix: Incorrect mode display when featureless make is building settings. The modes being displayed are the default modes. This is incorrect. The modes being selected should be displayed. This is a bug only with the messages being printed and does not affect the actual build process. The build process appears to be operating correctly. --- diff --git a/level_3/fake/c/private-build.c b/level_3/fake/c/private-build.c index c6037e9..14228a3 100644 --- a/level_3/fake/c/private-build.c +++ b/level_3/fake/c/private-build.c @@ -850,9 +850,6 @@ const f_string_static_t fake_build_documentation_files_s = macro_f_string_static if (build_arguments->used > 1) { modes_custom.used = build_arguments->used - 1; } - else if (data_build.setting.modes.used) { - modes_custom.used = data_build.setting.modes.used; - } } f_string_static_t modes_custom_array[modes_custom.used]; @@ -866,11 +863,6 @@ const f_string_static_t fake_build_documentation_files_s = macro_f_string_static modes_custom.array[i] = build_arguments->array[i + 1]; } // for } - else if (data_build.setting.modes.used) { - for (; i < data_build.setting.modes.used; ++i) { - modes_custom.array[i] = data_build.setting.modes.array[i]; - } // for - } } // Custom modes are always used if provided, otherwise fallback to the passed modes or the default modes.