From dc3a2ee7ccaf940fc69582b0872f62a18362fc7e Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Tue, 28 Mar 2023 22:44:00 -0500 Subject: [PATCH] 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. --- level_1/fl_string/c/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 1.8.3.1