From c65c8077087523dd4464597c84bd3df53032a50e Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 8 Jun 2023 22:09:24 -0500 Subject: [PATCH] Bugfix: Use the custom build settings name if passed when printing current setting being used. The message, such as: Building fss_read using 'settings' with modes 'monolithic', 'thread'. Should instead be: Building fss_read using 'settings.main' with modes 'monolithic', 'thread'. Use the custom settings name if the custom build arguments are passed to display the correct name. --- level_3/fake/c/private-build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_3/fake/c/private-build.c b/level_3/fake/c/private-build.c index d09d700..9767843 100644 --- a/level_3/fake/c/private-build.c +++ b/level_3/fake/c/private-build.c @@ -846,7 +846,7 @@ const f_string_static_t fake_build_documentation_files_s = macro_f_string_static fl_print_format("%r%[Building%] ", data->main->output.to.stream, f_string_eol_s, data->main->context.set.important, data->main->context.set.important); fl_print_format("%[%Q%]", data->main->output.to.stream, data->main->context.set.notable, data_build.setting.build_name, data->main->context.set.notable); fl_print_format("%[ using '%]", data->main->output.to.stream, data->main->context.set.important, data->main->context.set.important); - fl_print_format("%[%Q%]", data->main->output.to.stream, data->main->context.set.notable, data->settings, data->main->context.set.notable); + fl_print_format("%[%Q%]", data->main->output.to.stream, data->main->context.set.notable, build_arguments && build_arguments->used ? build_arguments->array[0] : data->settings, data->main->context.set.notable); fl_print_format("%[' with modes '%]", data->main->output.to.stream, data->main->context.set.important, data->main->context.set.important); -- 1.8.3.1