forked from mia/Aegisub
Fix crash on aegisub.log(0, nil)
Originally committed to SVN as r6489.
This commit is contained in:
parent
53c2c8821b
commit
113c85bda0
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ namespace Automation4 {
|
|||
}
|
||||
|
||||
// Top of stack is now a string to output
|
||||
ps->Log(lua_tostring(L, 1));
|
||||
ps->Log(luaL_checkstring(L, 1));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue