mirror of https://github.com/odrling/Aegisub
Merge branch 'lua_api' into feature
This commit is contained in:
commit
eb6f31c077
|
@ -631,7 +631,7 @@ namespace Automation4 {
|
||||||
|
|
||||||
int LuaAssFile::LuaParseKaraokeData(lua_State *L)
|
int LuaAssFile::LuaParseKaraokeData(lua_State *L)
|
||||||
{
|
{
|
||||||
auto e = LuaToTrackedAssEntry(L);
|
auto e = LuaToAssEntry(L, ass);
|
||||||
auto dia = check_cast_constptr<AssDialogue>(e.get());
|
auto dia = check_cast_constptr<AssDialogue>(e.get());
|
||||||
argcheck(L, !!dia, 1, "Subtitle line must be a dialogue line");
|
argcheck(L, !!dia, 1, "Subtitle line must be a dialogue line");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue