From: Kevin Day Date: Thu, 15 Oct 2020 04:29:21 +0000 (-0500) Subject: Bugfix: trimming in FSS extended write does not always work. X-Git-Tag: 0.5.1~30 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=62953189cdcf6d2ddd402919c78c829070c602d0;p=fll Bugfix: trimming in FSS extended write does not always work. A boolean is used to designate when the Object has no space at the end. If this boolean is FALSE, then a space is added before the '{'. The problem is that the addition of this space happens after trimming. If trimming is performed, just lie and set the boolean to TRUE to prevent the addition of an (unwanted) space. --- diff --git a/level_1/fl_fss/c/fss_extended_list.c b/level_1/fl_fss/c/fss_extended_list.c index a2d0798..b091d9a 100644 --- a/level_1/fl_fss/c/fss_extended_list.c +++ b/level_1/fl_fss/c/fss_extended_list.c @@ -963,6 +963,9 @@ extern "C" { destination->used = used_start; return status; } + + // prevent a space from being added post-trimming. + ends_on_space = F_true; } status = private_fl_fss_destination_increase_by(3, destination);