diff options
Diffstat (limited to 'lobject.c')
| -rw-r--r-- | lobject.c | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.c,v 2.28 2008/01/30 18:05:23 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 2.29 2009/02/19 17:18:25 roberto Exp $ |
| 3 | ** Some generic functions over Lua objects | 3 | ** Some generic functions over Lua objects |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -162,8 +162,7 @@ const char *luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) { | |||
| 162 | fmt = e+2; | 162 | fmt = e+2; |
| 163 | } | 163 | } |
| 164 | pushstr(L, fmt); | 164 | pushstr(L, fmt); |
| 165 | luaV_concat(L, n+1, cast_int(L->top - L->base) - 1); | 165 | luaV_concat(L, n+1); |
| 166 | L->top -= n; | ||
| 167 | return svalue(L->top - 1); | 166 | return svalue(L->top - 1); |
| 168 | } | 167 | } |
| 169 | 168 | ||
