From f274927d509683143f7adcf2d4504533ccff0f5f Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 18 Jun 2022 18:58:03 -0500 Subject: [PATCH] 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. --- level_1/fl_conversion/c/private-conversion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 1.8.3.1