summaryrefslogtreecommitdiff
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 f33748ce..10f9f3cb 100644
--- a/src/lj_api.c
+++ b/src/lj_api.c
@@ -713,7 +713,7 @@ LUA_API void lua_concat(lua_State *L, int n)
713 copyTV(L, L->top-1, L->top); 713 copyTV(L, L->top-1, L->top);
714 } while (--n > 0); 714 } while (--n > 0);
715 } else if (n == 0) { /* Push empty string. */ 715 } else if (n == 0) { /* Push empty string. */
716 setstrV(L, L->top, lj_str_new(L, "", 0)); 716 setstrV(L, L->top, &G(L)->strempty);
717 incr_top(L); 717 incr_top(L);
718 } 718 }
719 /* else n == 1: nothing to do. */ 719 /* else n == 1: nothing to do. */