forked from mia/Aegisub
Merge r5409 from 2.1.9, see #1300.
Originally committed to SVN as r5410.
This commit is contained in:
parent
23510dcac8
commit
a98cfb7685
1 changed files with 2 additions and 1 deletions
|
@ -701,7 +701,8 @@ namespace Automation4 {
|
|||
int n = laf->last_entry_id;
|
||||
for (int i = (int)ids.size()-2; i >= 0; --i) {
|
||||
int id = ids[i];
|
||||
while (id > n--) laf->last_entry_ptr--;
|
||||
while (id < n)
|
||||
n--, laf->last_entry_ptr--;
|
||||
e = laf->last_entry_ptr++;
|
||||
delete *e;
|
||||
laf->ass->Line.erase(e);
|
||||
|
|
Loading…
Reference in a new issue