Stop uglifying the ternary operator.
This commit is contained in:
@@ -574,7 +574,7 @@ bool LuaHelpers::RunAtExpressionS( RString &sStr )
|
|||||||
|
|
||||||
/* Like luaL_typerror, but without the special case for argument 1 being "self"
|
/* Like luaL_typerror, but without the special case for argument 1 being "self"
|
||||||
* in method calls, so we give a correct error message after we remove self. */
|
* in method calls, so we give a correct error message after we remove self. */
|
||||||
RString GetLuaBindingType( Lua *L, int iArgNo )
|
static RString GetLuaBindingType( Lua *L, int iArgNo )
|
||||||
{
|
{
|
||||||
if( lua_isnil(L, iArgNo) )
|
if( lua_isnil(L, iArgNo) )
|
||||||
return "nil";
|
return "nil";
|
||||||
|
|||||||
Reference in New Issue
Block a user