diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 2.195 2014/02/13 17:25:20 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.196 2014/02/14 16:43:14 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -1296,7 +1296,7 @@ LUA_API void lua_upvaluejoin (lua_State *L, int fidx1, int n1, | |||
1296 | luaC_upvdeccount(L, *up1); | 1296 | luaC_upvdeccount(L, *up1); |
1297 | *up1 = *up2; | 1297 | *up1 = *up2; |
1298 | (*up1)->refcount++; | 1298 | (*up1)->refcount++; |
1299 | if (upisopen(*up1)) (*up1)->u.op.touched = 1; | 1299 | if (upisopen(*up1)) (*up1)->u.open.touched = 1; |
1300 | luaC_upvalbarrier(L, *up1); | 1300 | luaC_upvalbarrier(L, *up1); |
1301 | } | 1301 | } |
1302 | 1302 | ||