diff options
Diffstat (limited to 'lobject.c')
-rw-r--r-- | lobject.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -402,10 +402,8 @@ static void pushstr (BuffFS *buff, const char *str, size_t l) { | |||
402 | setsvalue2s(L, L->top, luaS_newlstr(L, str, l)); | 402 | setsvalue2s(L, L->top, luaS_newlstr(L, str, l)); |
403 | L->top++; /* may use one extra slot */ | 403 | L->top++; /* may use one extra slot */ |
404 | buff->pushed++; | 404 | buff->pushed++; |
405 | if (buff->pushed > 1) { | 405 | luaV_concat(L, buff->pushed); /* join partial results into one */ |
406 | luaV_concat(L, buff->pushed); /* join partial results into one */ | 406 | buff->pushed = 1; |
407 | buff->pushed = 1; | ||
408 | } | ||
409 | } | 407 | } |
410 | 408 | ||
411 | 409 | ||