From f9af95fba7d5974baee12c1cb311c8292f52d01a Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 26 Dec 2022 08:03:22 -0600 Subject: [PATCH] Cleanup: Replace 'decision' with 'choice' for consistency reasons. --- level_2/fll_program/c/program.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; -- 1.8.3.1