From 207ca88c5c011a782c715f25ca36962bf8ccdd8c Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 22 Dec 2011 21:21:55 +0000 Subject: [PATCH] Set modification mask correctly when appending lines Originally committed to SVN as r6080. --- aegisub/src/auto4_lua_assfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/auto4_lua_assfile.cpp b/aegisub/src/auto4_lua_assfile.cpp index 4036ff7bf..a99f2040d 100644 --- a/aegisub/src/auto4_lua_assfile.cpp +++ b/aegisub/src/auto4_lua_assfile.cpp @@ -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::iterator it = lines.end();