From 17c009aac30849b341da025d0d9a560b6e32b830 Mon Sep 17 00:00:00 2001 From: frosch Date: Thu, 14 Sep 2023 23:59:57 +0200 Subject: [PATCH] Fix #11297, 4e9a871: SCC_GENDER_LIST tried to determine the gender from the wrong sub-string. --- 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. */