mirror of https://github.com/odrling/Aegisub
The lines.n value produced by Auto3 implementation was 1 too small causing the last line in a file to be eaten by karaskel.
Originally committed to SVN as r2818.
This commit is contained in:
parent
a3600f8ca1
commit
6d1207900b
|
@ -764,7 +764,7 @@ static void MakeEventsTable(lua_State *L, struct Auto3Interpreter *script)
|
|||
|
||||
// Finally, make 'n' key in table
|
||||
lua_pushstring(L, "n");
|
||||
lua_pushnumber(L, n);
|
||||
lua_pushnumber(L, n+1);
|
||||
lua_settable(L, -3);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue