From c6f5b57f13e1ad6d5ea912600914c893348f216e Mon Sep 17 00:00:00 2001 From: frosch Date: Fri, 15 Sep 2023 21:25:25 +0200 Subject: [PATCH] Fix #11297, 4e9a871: SCC_GENDER_LIST tried to determine the gender from the wrong sub-string. (#11299) --- src/strings_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strings_internal.h b/src/strings_internal.h index c85b179ca5..ef5499059a 100644 --- a/src/strings_internal.h +++ b/src/strings_internal.h @@ -129,7 +129,7 @@ public: */ StringParameters GetRemainingParameters(size_t offset) { - return StringParameters(this->parameters.subspan(this->offset, GetDataLeft())); + return StringParameters(this->parameters.subspan(offset, GetDataLeft())); } /** Return the amount of elements which can still be read. */