diff --git a/Source/FrameSequenceParser.cpp b/Source/FrameSequenceParser.cpp index ff3696c..34e003e 100644 --- a/Source/FrameSequenceParser.cpp +++ b/Source/FrameSequenceParser.cpp @@ -373,11 +373,10 @@ FrameSequence FrameSequenceParser::parse (const String& input, { if (hasRelease) { - str_beforeRepeat = trimmed.substring (0, repeatStartIndex - 1); + str_release = trimmed.substring(releaseBlockIndex, trimmed.length()); } - - str_insideRepeat = trimmed.substring (repeatStartIndex, repeatEndIndex); - } + str_beforeRepeat = trimmed.substring(0, repeatStartIndex - 1); + str_insideRepeat = trimmed.substring (repeatStartIndex, repeatEndIndex); } else { if (hasRelease)