Parser fix

This commit is contained in:
Takeshi Yokemura 2021-08-07 19:35:43 +09:00
parent 095e6a8c11
commit e45f7aff85

View File

@ -373,11 +373,10 @@ FrameSequence FrameSequenceParser::parse (const String& input,
{ {
if (hasRelease) if (hasRelease)
{ {
str_beforeRepeat = trimmed.substring (0, repeatStartIndex - 1); str_release = trimmed.substring(releaseBlockIndex, trimmed.length());
} }
str_beforeRepeat = trimmed.substring(0, repeatStartIndex - 1);
str_insideRepeat = trimmed.substring (repeatStartIndex, repeatEndIndex); str_insideRepeat = trimmed.substring (repeatStartIndex, repeatEndIndex); }
}
else else
{ {
if (hasRelease) if (hasRelease)