aboutsummaryrefslogtreecommitdiff
path: root/ldblib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldblib.c')
-rw-r--r--ldblib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldblib.c b/ldblib.c
index ad4c62ca..571f9773 100644
--- a/ldblib.c
+++ b/ldblib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldblib.c,v 1.128 2011/01/10 15:51:19 roberto Exp roberto $ 2** $Id: ldblib.c,v 1.129 2011/01/26 16:30:02 roberto Exp roberto $
3** Interface from Lua to its debug API 3** Interface from Lua to its debug API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -253,7 +253,7 @@ static int db_upvaluejoin (lua_State *L) {
253} 253}
254 254
255 255
256#define gethooktable(L) luaL_findtable(L, LUA_REGISTRYINDEX, HOOKKEY); 256#define gethooktable(L) luaL_getsubtable(L, LUA_REGISTRYINDEX, HOOKKEY);
257 257
258 258
259static void hookf (lua_State *L, lua_Debug *ar) { 259static void hookf (lua_State *L, lua_Debug *ar) {