From: Kevin Day Date: Sun, 1 Sep 2024 01:28:31 +0000 (-0500) Subject: Bugfix: Incorrect handling of column counts with empty data for FSS Embedded List... X-Git-Tag: 0.6.12~15 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=f17c929fd601978fe54b04981e98e274f4b0f1e6;p=fll Bugfix: Incorrect handling of column counts with empty data for FSS Embedded List Read. --- diff --git a/level_3/fss_embedded_list_read/c/private-read.c b/level_3/fss_embedded_list_read/c/private-read.c index 558a2bf..97cd259 100644 --- a/level_3/fss_embedded_list_read/c/private-read.c +++ b/level_3/fss_embedded_list_read/c/private-read.c @@ -536,9 +536,11 @@ extern "C" { if (skip[i]) continue; - fll_print_format("%r%r", data->main->output.to.stream, f_string_ascii_1_s, f_string_eol_s); + if (items->array[i].content.used && items->array[i].content.array[0].start <= items->array[i].content.array[0].stop || data->main->parameters.array[fss_embedded_list_read_parameter_empty_e].result == f_console_result_found_e) { + fll_print_format("%r%r", data->main->output.to.stream, f_string_ascii_1_s, f_string_eol_s); - return F_none; + return F_none; + } } // for } @@ -707,7 +709,7 @@ extern "C" { if (skip[i]) continue; - if (items->array[i].content.used || data->main->parameters.array[fss_embedded_list_read_parameter_empty_e].result == f_console_result_found_e) { + if (items->array[i].content.used && items->array[i].content.array[0].start <= items->array[i].content.array[0].stop || data->main->parameters.array[fss_embedded_list_read_parameter_empty_e].result == f_console_result_found_e) { fll_print_format("%r%r", data->main->output.to.stream, f_string_ascii_1_s, f_string_eol_s); return F_none;