"conceptual" bug

This commit is contained in:
Roberto Ierusalimschy 2000-04-26 10:43:10 -03:00
parent 534c3a64d3
commit 84790bb953
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
** $Id: lobject.c,v 1.36 2000/03/31 16:28:45 roberto Exp roberto $
** $Id: lobject.c,v 1.37 2000/04/25 16:55:09 roberto Exp roberto $
** Some generic functions over Lua objects
** See Copyright Notice in lua.h
*/
@ -38,7 +38,7 @@ int luaO_equalObj (const TObject *t1, const TObject *t2) {
case TAG_NUMBER:
return nvalue(t1) == nvalue(t2);
case TAG_STRING: case TAG_USERDATA:
return svalue(t1) == svalue(t2);
return tsvalue(t1) == tsvalue(t2);
case TAG_TABLE:
return avalue(t1) == avalue(t2);
case TAG_CCLOSURE: case TAG_LCLOSURE: