From 61c3c80177de00576620d79d586eb57d8723ee1a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 28 Oct 2014 16:23:31 -0200 Subject: [PATCH] detail --- lstrlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lstrlib.c b/lstrlib.c index fad66510..18e76304 100644 --- a/lstrlib.c +++ b/lstrlib.c @@ -1,5 +1,5 @@ /* -** $Id: lstrlib.c,v 1.207 2014/10/25 11:50:46 roberto Exp roberto $ +** $Id: lstrlib.c,v 1.208 2014/10/27 13:30:24 roberto Exp roberto $ ** Standard library for string operations and pattern-matching ** See Copyright Notice in lua.h */ @@ -897,10 +897,10 @@ static int str_format (lua_State *L) { nb = sprintf(buff, form, n); break; } - case 'e': case 'E': case 'f': #if defined(LUA_USE_AFORMAT) case 'a': case 'A': #endif + case 'e': case 'E': case 'f': case 'g': case 'G': { addlenmod(form, LUA_NUMBER_FRMLEN); nb = sprintf(buff, form, luaL_checknumber(L, arg));