]> Kevux Git Server - fll/commitdiff
Bugfix: Entry file not found when --settings is used.
authorKevin Day <thekevinday@gmail.com>
Thu, 23 Jun 2022 22:50:51 +0000 (17:50 -0500)
committerKevin Day <thekevinday@gmail.com>
Thu, 23 Jun 2022 22:54:13 +0000 (17:54 -0500)
The incorrect range is being used on the wrong variable.

level_3/controller/c/controller/private-controller.c

index 9ce2d6a47a78d4d5795f1a8bd2d3271ca857aa9c..d9d8857f02009e7ddd7fed3ce752f90b8a555fae 100644 (file)
@@ -364,7 +364,7 @@ extern "C" {
     if (destination->used >= setting->path_current.used) {
       const f_string_range_t range = macro_f_string_range_t_initialize2(setting->path_current.used);
 
-      if (fl_string_dynamic_partial_compare(*destination, setting->path_current, range, range) == F_equal_to) {
+      if (fl_string_dynamic_partial_compare_string(destination->string, setting->path_current, destination->used, range) == F_equal_to) {
         f_array_length_t length = destination->used - setting->path_current.used;
 
         if (length) {