diff options
-rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 1.87 2000/08/29 14:33:31 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.88 2000/08/29 14:48:16 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -125,7 +125,7 @@ static void luaD_callHook (lua_State *L, StkId func, lua_Hook callhook, | |||
125 | ar._func = func; | 125 | ar._func = func; |
126 | ar.event = event; | 126 | ar.event = event; |
127 | L->allowhooks = 0; /* cannot call hooks inside a hook */ | 127 | L->allowhooks = 0; /* cannot call hooks inside a hook */ |
128 | callhook(L, &ar); | 128 | (*callhook)(L, &ar); |
129 | L->allowhooks = 1; | 129 | L->allowhooks = 1; |
130 | L->top = old_top; | 130 | L->top = old_top; |
131 | L->Cbase = old_Cbase; | 131 | L->Cbase = old_Cbase; |