Fix bogus inactive line markers for the previous line when the first dialogue line is active
Originally committed to SVN as r6291.
This commit is contained in:
parent
37cb9d0548
commit
3ec9514636
1 changed files with 2 additions and 1 deletions
|
@ -586,7 +586,8 @@ void AudioTimingControllerDialogue::RegenerateInactiveLines()
|
|||
|
||||
std::list<AssEntry*>::iterator prev = current_line;
|
||||
while (--prev != context->ass->Line.begin() && !predicate(*prev)) ;
|
||||
AddInactiveMarkers(static_cast<AssDialogue*>(*prev));
|
||||
if (prev != context->ass->Line.begin())
|
||||
AddInactiveMarkers(static_cast<AssDialogue*>(*prev));
|
||||
|
||||
if (mode == 2)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue