diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-11-03 15:39:14 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-11-03 15:39:14 -0300 |
| commit | fa075b79530af1cbc977349f2e467d69ce01202c (patch) | |
| tree | 300e10cd086a9812331b954d46552dbf420b0a8a /lobject.c | |
| parent | 08a077d673b25cf1fbfe21794f240f4ff4999667 (diff) | |
| parent | 7923dbbf72da303ca1cca17efd24725668992f15 (diff) | |
| download | lua-fa075b79530af1cbc977349f2e467d69ce01202c.tar.gz lua-fa075b79530af1cbc977349f2e467d69ce01202c.tar.bz2 lua-fa075b79530af1cbc977349f2e467d69ce01202c.zip | |
Merge branch 'master' into newarray
Diffstat (limited to 'lobject.c')
| -rw-r--r-- | lobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -542,7 +542,7 @@ const char *luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) { | |||
| 542 | addstr2buff(&buff, fmt, strlen(fmt)); /* rest of 'fmt' */ | 542 | addstr2buff(&buff, fmt, strlen(fmt)); /* rest of 'fmt' */ |
| 543 | clearbuff(&buff); /* empty buffer into the stack */ | 543 | clearbuff(&buff); /* empty buffer into the stack */ |
| 544 | lua_assert(buff.pushed == 1); | 544 | lua_assert(buff.pushed == 1); |
| 545 | return svalue(s2v(L->top.p - 1)); | 545 | return getstr(tsvalue(s2v(L->top.p - 1))); |
| 546 | } | 546 | } |
| 547 | 547 | ||
| 548 | 548 | ||
