From: Kevin Day Date: Wed, 29 Mar 2023 03:44:00 +0000 (-0500) Subject: Regression: The variable buffer.range should be buffer.used. X-Git-Tag: 0.6.5~31 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=dc3a2ee7ccaf940fc69582b0872f62a18362fc7e;p=fll Regression: The variable buffer.range should be buffer.used. This is introduced by the commit 5f1e938fcc9a54a8290c9afd0a1e58ec93971c52. I must have been sleepier than I realized. This is a dirt simple mistake. --- diff --git a/level_1/fl_string/c/string.c b/level_1/fl_string/c/string.c index 8e0ef3d..92a1822 100644 --- a/level_1/fl_string/c/string.c +++ b/level_1/fl_string/c/string.c @@ -316,7 +316,7 @@ extern "C" { } // while if (range->start > range->stop) return F_none_stop; - if (range->start > buffer.range) return F_none_eos; + if (range->start > buffer.used) return F_none_eos; return F_none_eos; }