14 lines
429 B
Plaintext
14 lines
429 B
Plaintext
$NetBSD: patch-ac,v 1.4 2008/11/06 08:33:31 bjs Exp $
|
|
|
|
--- src/scripting/lua/hooks.c.orig 2008-09-21 04:45:22.000000000 -0400
|
|
+++ src/scripting/lua/hooks.c
|
|
@@ -200,7 +200,7 @@ static enum evhook_status
|
|
script_hook_quit(va_list ap, void *data)
|
|
{
|
|
if (!prepare_lua(NULL)) {
|
|
- lua_dostring(lua_state, "if quit_hook then quit_hook() end");
|
|
+ luaL_dostring(lua_state, "if quit_hook then quit_hook() end");
|
|
finish_lua();
|
|
}
|
|
|