diff options
Diffstat (limited to 'src/lj_tab.c')
-rw-r--r-- | src/lj_tab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_tab.c b/src/lj_tab.c index 633ea20c..9af51027 100644 --- a/src/lj_tab.c +++ b/src/lj_tab.c | |||
@@ -191,8 +191,8 @@ GCtab *lj_tab_dup(lua_State *L, const GCtab *kt) | |||
191 | Node *kn = &knode[i]; | 191 | Node *kn = &knode[i]; |
192 | Node *n = &node[i]; | 192 | Node *n = &node[i]; |
193 | Node *next = nextnode(kn); | 193 | Node *next = nextnode(kn); |
194 | copyTV(L, &n->val, &kn->val); | 194 | /* Don't use copyTV here, since it asserts on a copy of a DEADKEY. */ |
195 | copyTV(L, &n->key, &kn->key); | 195 | n->val = kn->val; n->key = kn->key; |
196 | setmref(n->next, next == NULL? next : (Node *)((char *)next + d)); | 196 | setmref(n->next, next == NULL? next : (Node *)((char *)next + d)); |
197 | } | 197 | } |
198 | } | 198 | } |