Fix crash on aegisub.log(0, nil)

Originally committed to SVN as r6489.
This commit is contained in:
Thomas Goyne 2012-02-20 05:15:18 +00:00
parent 53c2c8821b
commit 113c85bda0
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}