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
5a76711a19
commit
c55df071cf
|
@ -764,7 +764,7 @@ static void MakeEventsTable(lua_State *L, struct Auto3Interpreter *script)
|
||||||
|
|
||||||
// Finally, make 'n' key in table
|
// Finally, make 'n' key in table
|
||||||
lua_pushstring(L, "n");
|
lua_pushstring(L, "n");
|
||||||
lua_pushnumber(L, n);
|
lua_pushnumber(L, n+1);
|
||||||
lua_settable(L, -3);
|
lua_settable(L, -3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue