Have the "make adjacent" threshold in TPP have the end of the range be inclusive
Originally committed to SVN as r5912.
This commit is contained in:
parent
56e6f7d5b2
commit
0c5cb8e490
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ void DialogTimingProcessor::Process() {
|
|||
int curStart = cur->Start.GetMS();
|
||||
int prevEnd = prev->End.GetMS();
|
||||
int dist = curStart-prevEnd;
|
||||
if (dist > 0 && dist < adjsThres) {
|
||||
if (dist > 0 && dist <= adjsThres) {
|
||||
int setPos = prevEnd+int(dist*bias);
|
||||
cur->Start.SetMS(setPos);
|
||||
prev->End.SetMS(setPos);
|
||||
|
|
Loading…
Reference in a new issue