From: Kevin Day Date: Fri, 9 Jun 2023 03:09:24 +0000 (-0500) Subject: Bugfix: Use the custom build settings name if passed when printing current setting... X-Git-Tag: 0.6.6~26 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=c65c8077087523dd4464597c84bd3df53032a50e;p=fll 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. --- 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);