]> Kevux Git Server - fll/commitdiff
Bugfix: Incorrect variable used results in F_parameter error.
authorKevin Day <thekevinday@gmail.com>
Sun, 5 Jun 2022 21:02:25 +0000 (16:02 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 5 Jun 2022 21:02:25 +0000 (16:02 -0500)
level_1/fl_string/c/private-string.c

index 14f0b95ea6de63f4772c3d4b1ac5429aa9cf4da4..acaaced50f87c455c49b309bf7cbe3232e3706ee 100644 (file)
@@ -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;