mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
comments
This commit is contained in:
parent
67bda7e136
commit
53aaee6ee6
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ int luaO_equalObj (const TObject *t1, const TObject *t2) {
|
|||
case LUA_TNIL:
|
||||
return 1;
|
||||
case LUA_TBOOLEAN:
|
||||
return bvalue(t1) == bvalue(t2);
|
||||
return bvalue(t1) == bvalue(t2); /* true must be 1 !! */
|
||||
default: /* all other types are equal if pointers are equal */
|
||||
return tsvalue(t1) == tsvalue(t2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue