Stop uglifying the ternary operator.

This commit is contained in:
Steve Checkoway
2006-09-26 05:44:44 +00:00
parent 6fe6baa241
commit c56d379860
+1 -1
View File
@@ -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";