From 8085964ff5ed7e91a3ddb5f271d62ff973fdb01e Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 5 Jun 2022 16:02:25 -0500 Subject: [PATCH] Bugfix: Incorrect variable used results in F_parameter error. --- level_1/fl_string/c/private-string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_1/fl_string/c/private-string.c b/level_1/fl_string/c/private-string.c index 14f0b95..acaaced 100644 --- a/level_1/fl_string/c/private-string.c +++ b/level_1/fl_string/c/private-string.c @@ -543,7 +543,7 @@ extern "C" { } if (status == F_false) { - status = f_utf_is_combining(string2 + j, (stop1 - j) + 1); + status = f_utf_is_combining(string2 + j, (stop2 - j) + 1); if (F_status_is_error(status)) { if (F_status_set_fine(status) == F_parameter) return status; -- 1.8.3.1