diff options
Diffstat (limited to 'lobject.c')
-rw-r--r-- | lobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.c,v 2.45 2010/12/10 19:03:46 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 2.46 2011/02/07 19:15:24 roberto Exp roberto $ |
3 | ** Some generic functions over Lua objects | 3 | ** Some generic functions over Lua objects |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -71,7 +71,7 @@ int luaO_ceillog2 (unsigned int x) { | |||
71 | 71 | ||
72 | 72 | ||
73 | int luaO_rawequalObj (const TValue *t1, const TValue *t2) { | 73 | int luaO_rawequalObj (const TValue *t1, const TValue *t2) { |
74 | if (ttype(t1) != ttype(t2)) return 0; | 74 | if (!ttisequal(t1, t2)) return 0; |
75 | else switch (ttype(t1)) { | 75 | else switch (ttype(t1)) { |
76 | case LUA_TNIL: | 76 | case LUA_TNIL: |
77 | return 1; | 77 | return 1; |