Keep operands to ? the same type! (Fixed compile-time error on GCC 3.3)

This commit is contained in:
Ben Anderson
2005-06-04 01:38:37 +00:00
parent d9374832cf
commit e86dffd34e
+1 -1
View File
@@ -876,7 +876,7 @@ static bool ConnectToServer( const CString &t )
static Preference<CString> g_sLastServer( "LastConnectedServer", "" );
LuaFunction( ConnectToServer, ConnectToServer( ( CString(SArg(1)).length()==0 ) ? CString(g_sLastServer) : SArg(1) ) )
LuaFunction( ConnectToServer, ConnectToServer( ( CString(SArg(1)).length()==0 ) ? CString(g_sLastServer) : CString(SArg(1) ) ) )
#endif