Fix #11297, 4e9a871: SCC_GENDER_LIST tried to determine the gender from the wrong sub-string. (#11299)

This commit is contained in:
frosch 2023-09-15 21:25:25 +02:00 committed by GitHub
parent 39ef4b503f
commit c6f5b57f13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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. */