mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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
@ -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…
x
Reference in New Issue
Block a user