From: Kevin Day Date: Mon, 26 Dec 2022 14:03:22 +0000 (-0600) Subject: Cleanup: Replace 'decision' with 'choice' for consistency reasons. X-Git-Tag: 0.6.3~50 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=f9af95fba7d5974baee12c1cb311c8292f52d01a;p=fll Cleanup: Replace 'decision' with 'choice' for consistency reasons. --- diff --git a/level_2/fll_program/c/program.c b/level_2/fll_program/c/program.c index 386bd66..2453c8d 100644 --- a/level_2/fll_program/c/program.c +++ b/level_2/fll_program/c/program.c @@ -81,19 +81,19 @@ extern "C" { status = f_console_parameter_process(arguments, parameters); if (F_status_is_error(status)) return status; - f_console_parameter_id_t decision = choices.id[2]; + f_console_parameter_id_t choice = choices.id[2]; if (right) { - status = f_console_parameter_prioritize_right(*parameters, choices, &decision); + status = f_console_parameter_prioritize_right(*parameters, choices, &choice); } else { - status = f_console_parameter_prioritize_left(*parameters, choices, &decision); + status = f_console_parameter_prioritize_left(*parameters, choices, &choice); } if (F_status_is_error(status)) return status; // Load colors unless told not to. - if (decision == choices.id[0]) { + if (choice == choices.id[0]) { context->mode = F_color_mode_no_color_d; } else { @@ -102,7 +102,7 @@ extern "C" { macro_f_color_context_t_new(allocation_status, (*context)); if (F_status_is_error(status)) return status; - status = f_color_load_context(decision == choices.id[1], context); + status = f_color_load_context(choice == choices.id[1], context); } return status;