aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lobject.c b/lobject.c
index 48a69841..d44e041d 100644
--- a/lobject.c
+++ b/lobject.c
@@ -58,7 +58,7 @@ int luaO_equalObj (const TObject *t1, const TObject *t2) {
58 case LUA_TNIL: 58 case LUA_TNIL:
59 return 1; 59 return 1;
60 case LUA_TBOOLEAN: 60 case LUA_TBOOLEAN:
61 return bvalue(t1) == bvalue(t2); 61 return bvalue(t1) == bvalue(t2); /* true must be 1 !! */
62 default: /* all other types are equal if pointers are equal */ 62 default: /* all other types are equal if pointers are equal */
63 return tsvalue(t1) == tsvalue(t2); 63 return tsvalue(t1) == tsvalue(t2);
64 } 64 }