Set modification mask correctly when appending lines

Originally committed to SVN as r6080.
This commit is contained in:
Thomas Goyne 2011-12-22 21:21:55 +00:00
parent f78d52448e
commit 207ca88c5c
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ namespace Automation4 {
for (int i = 1; i <= n; i++) {
lua_pushvalue(L, i);
AssEntry *e = LuaToAssEntry(L);
modification_type |= modification_mask(*last_entry_ptr);
modification_type |= modification_mask(e);
// Find the appropriate place to put it
std::list<AssEntry*>::iterator it = lines.end();