From d7a3e63ae56c8ac4c6eaffb9760961c83a48ec10 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 23 Jun 2022 17:50:51 -0500 Subject: [PATCH] Bugfix: Entry file not found when --settings is used. The incorrect range is being used on the wrong variable. --- level_3/controller/c/controller/private-controller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 1.8.3.1