From 8d1453a4662d99d44d200b174d241ab78c044abf Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 2 Jan 2005 05:06:11 +0000 Subject: Whoops, bis --- lib/lua/src/lvm.c | 4 ++-- 1 file 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); -- cgit v1.2.3