Sort inactive markers so that lower_bound will actually work when lines are out of order or overlapping

Originally committed to SVN as r6238.
This commit is contained in:
Thomas Goyne 2012-01-08 01:35:18 +00:00
parent c84275d6fa
commit 58c7bbd78a

View file

@ -582,6 +582,7 @@ void AudioTimingControllerDialogue::RegenerateInactiveLines()
context->audioController->SamplesFromMilliseconds(line->End), false));
}
}
sort(inactive_markers.begin(), inactive_markers.end());
break;
}
default: