1
0
Fork 0

Fix #11521, e404ba0: size for remaining span determined incorrectly

pull/11524/head
rubidium42 2023-11-30 07:47:51 -04:00 committed by rubidium42
parent cb8612ba79
commit 33ba609290
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(offset, GetDataLeft()));
return StringParameters(this->parameters.subspan(offset, this->parameters.size() - offset));
}
/** Return the amount of elements which can still be read. */