diff options
Diffstat (limited to 'ltable.c')
| -rw-r--r-- | ltable.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -273,7 +273,7 @@ static void rehash (lua_State *L, Table *t) { | |||
| 273 | 273 | ||
| 274 | Table *luaH_new (lua_State *L, int narray, int lnhash) { | 274 | Table *luaH_new (lua_State *L, int narray, int lnhash) { |
| 275 | Table *t = luaM_new(L, Table); | 275 | Table *t = luaM_new(L, Table); |
| 276 | t->eventtable = hvalue(defaultet(L)); | 276 | t->metatable = hvalue(defaultmeta(L)); |
| 277 | t->next = G(L)->roottable; | 277 | t->next = G(L)->roottable; |
| 278 | G(L)->roottable = t; | 278 | G(L)->roottable = t; |
| 279 | t->mark = t; | 279 | t->mark = t; |
