aboutsummaryrefslogtreecommitdiff
path: root/src/lj_buf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_buf.c')
-rw-r--r--src/lj_buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_buf.c b/src/lj_buf.c
index 023bb9aa..7b6c2188 100644
--- a/src/lj_buf.c
+++ b/src/lj_buf.c
@@ -186,7 +186,7 @@ SBuf *lj_buf_puttab(SBuf *sb, GCtab *t, GCstr *sep, int32_t i, int32_t e)
186 } else if (tvisint(o)) { 186 } else if (tvisint(o)) {
187 p = lj_strfmt_wint(lj_buf_more(sb, STRFMT_MAXBUF_INT+seplen), intV(o)); 187 p = lj_strfmt_wint(lj_buf_more(sb, STRFMT_MAXBUF_INT+seplen), intV(o));
188 } else if (tvisnum(o)) { 188 } else if (tvisnum(o)) {
189 p = lj_strfmt_wnum(lj_buf_more(sb, STRFMT_MAXBUF_NUM+seplen), o); 189 p = lj_buf_more(lj_strfmt_putfnum(sb, STRFMT_G14, numV(o)), seplen);
190 } else { 190 } else {
191 goto badtype; 191 goto badtype;
192 } 192 }