From 403e9f629a4eb02d38207aa7e78a8fafe9aa335d Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 24 Dec 2022 16:06:20 -0600 Subject: [PATCH] Cleanup: Use 'choice' instead of 'decision'. This became inconsistent at some point in time. Use 'choice' simply because it is shorter. --- level_2/fll_program/c/program.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/level_2/fll_program/c/program.c b/level_2/fll_program/c/program.c index 0342de4..856e5cb 100644 --- a/level_2/fll_program/c/program.c +++ b/level_2/fll_program/c/program.c @@ -11,13 +11,13 @@ extern "C" { { if (choices.used) { f_status_t status = F_none; - f_array_length_t decision = 0; + f_array_length_t choice = 0; if (right) { - status = f_console_parameter_prioritize_right(main->parameters, choices, &decision); + status = f_console_parameter_prioritize_right(main->parameters, choices, &choice); } else { - status = f_console_parameter_prioritize_left(main->parameters, choices, &decision); + status = f_console_parameter_prioritize_left(main->parameters, choices, &choice); } if (F_status_is_error(status)) return status; @@ -26,7 +26,7 @@ extern "C" { main->context.mode = modes[choices.used - 1]; } else { - main->context.mode = modes[decision]; + main->context.mode = modes[choice]; } if (main->context.mode == f_color_mode_dark_e || main->context.mode == f_color_mode_light_e) { -- 1.8.3.1