diff options
author | pixel <pixel> | 2005-01-02 05:06:11 +0000 |
---|---|---|
committer | pixel <pixel> | 2005-01-02 05:06:11 +0000 |
commit | 8d1453a4662d99d44d200b174d241ab78c044abf (patch) | |
tree | 4d66f553aa9007f5c35f9aabca6ceff2369379de | |
parent | 110e4c790588674d11dfd64cbb3ec97f7d0553bd (diff) |
Whoops, bis
-rw-r--r-- | lib/lua/src/lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lua/src/lvm.c b/lib/lua/src/lvm.c index adca9b2..b2070bb 100644 --- a/lib/lua/src/lvm.c +++ b/lib/lua/src/lvm.c @@ -1,5 +1,5 @@ /* -** $Id: lvm.c,v 1.6 2004-12-27 19:52:24 pixel Exp $ +** $Id: lvm.c,v 1.7 2005-01-02 05:06:11 pixel Exp $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -66,7 +66,7 @@ int luaV_tostring (lua_State *L, StkId obj) { static void traceexec (lua_State *L) { lu_byte mask = L->hookmask; - if (mask > LUA_MASKCOUNT) { /* instruction-hook set? */ + if (mask & LUA_MASKCOUNT) { /* instruction-hook set? */ if (L->hookcount == 0) { resethookcount(L); luaD_callhook(L, LUA_HOOKCOUNT, -1); |