From: Kevin Day Date: Thu, 23 Jun 2022 22:50:51 +0000 (-0500) Subject: Bugfix: Entry file not found when --settings is used. X-Git-Tag: 0.5.10~24 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=d7a3e63ae56c8ac4c6eaffb9760961c83a48ec10;p=fll Bugfix: Entry file not found when --settings is used. The incorrect range is being used on the wrong variable. --- diff --git a/level_3/controller/c/controller/private-controller.c b/level_3/controller/c/controller/private-controller.c index 9ce2d6a..d9d8857 100644 --- a/level_3/controller/c/controller/private-controller.c +++ b/level_3/controller/c/controller/private-controller.c @@ -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) {