aboutsummaryrefslogtreecommitdiff
path: root/src/lj_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_api.c')
-rw-r--r--src/lj_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_api.c b/src/lj_api.c
index 6c129164..b807900d 100644
--- a/src/lj_api.c
+++ b/src/lj_api.c
@@ -709,7 +709,7 @@ LUA_API void lua_concat(lua_State *L, int n)
709 if (n >= 2) { 709 if (n >= 2) {
710 n--; 710 n--;
711 do { 711 do {
712 TValue *top = lj_meta_cat(L, L->top-1, n); 712 TValue *top = lj_meta_cat(L, L->top-1, -n);
713 if (top == NULL) { 713 if (top == NULL) {
714 L->top -= n; 714 L->top -= n;
715 break; 715 break;