mirror of https://github.com/odrling/Aegisub
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:
parent
c84275d6fa
commit
58c7bbd78a
|
@ -582,6 +582,7 @@ void AudioTimingControllerDialogue::RegenerateInactiveLines()
|
|||
context->audioController->SamplesFromMilliseconds(line->End), false));
|
||||
}
|
||||
}
|
||||
sort(inactive_markers.begin(), inactive_markers.end());
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue