From: Kevin Day Date: Sat, 18 Jun 2022 23:58:03 +0000 (-0500) Subject: Bugfix: Uppercase 'T' needs to be supported. X-Git-Tag: 0.5.10~34 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=f274927d509683143f7adcf2d4504533ccff0f5f;p=fll Bugfix: Uppercase 'T' needs to be supported. I incorrectly used lower case 't' in both condition blocks when I need to check for both lower and upper. --- diff --git a/level_1/fl_conversion/c/private-conversion.c b/level_1/fl_conversion/c/private-conversion.c index 2e51f6b..7fa6642 100644 --- a/level_1/fl_conversion/c/private-conversion.c +++ b/level_1/fl_conversion/c/private-conversion.c @@ -381,7 +381,7 @@ extern "C" { if (string[j] > f_string_ascii_slash_backward_s.string[0] && string[j] < f_string_ascii_colon_s.string[0]) { mode = 10; } - else if (string[j] == f_string_ascii_t_s.string[0] || string[j] == f_string_ascii_t_s.string[0]) { + else if (string[j] == f_string_ascii_t_s.string[0] || string[j] == f_string_ascii_T_s.string[0]) { mode = 10; offset += 2; } @@ -537,7 +537,7 @@ extern "C" { else if (string[j] > f_string_ascii_slash_backward_s.string[0] && string[j] < f_string_ascii_colon_s.string[0]) { mode = 10; } - else if (string[j] == f_string_ascii_t_s.string[0] || string[j] == f_string_ascii_t_s.string[0]) { + else if (string[j] == f_string_ascii_t_s.string[0] || string[j] == f_string_ascii_T_s.string[0]) { mode = 10; offset += 2; }