mirror of https://github.com/odrling/Aegisub
Set modification mask correctly when appending lines
Originally committed to SVN as r6080.
This commit is contained in:
parent
f78d52448e
commit
207ca88c5c
|
@ -553,7 +553,7 @@ namespace Automation4 {
|
||||||
for (int i = 1; i <= n; i++) {
|
for (int i = 1; i <= n; i++) {
|
||||||
lua_pushvalue(L, i);
|
lua_pushvalue(L, i);
|
||||||
AssEntry *e = LuaToAssEntry(L);
|
AssEntry *e = LuaToAssEntry(L);
|
||||||
modification_type |= modification_mask(*last_entry_ptr);
|
modification_type |= modification_mask(e);
|
||||||
|
|
||||||
// Find the appropriate place to put it
|
// Find the appropriate place to put it
|
||||||
std::list<AssEntry*>::iterator it = lines.end();
|
std::list<AssEntry*>::iterator it = lines.end();
|
||||||
|
|
Loading…
Reference in New Issue