From 1f81baffadad9d955b030a1a29b9b06042a66552 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 25 Jan 2021 10:39:18 -0300 Subject: Janitorial work Comments, code details, identation. --- lapi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lapi.c') diff --git a/lapi.c b/lapi.c index 3583e9c0..163533a2 100644 --- a/lapi.c +++ b/lapi.c @@ -74,7 +74,8 @@ static TValue *index2value (lua_State *L, int idx) { return &G(L)->nilvalue; /* it has no upvalues */ else { CClosure *func = clCvalue(s2v(ci->func)); - return (idx <= func->nupvalues) ? &func->upvalue[idx-1] : &G(L)->nilvalue; + return (idx <= func->nupvalues) ? &func->upvalue[idx-1] + : &G(L)->nilvalue; } } } -- cgit v1.2.3-55-g6feb