TrimLeft(); TrimRight(); -> Trim();

This commit is contained in:
Steve Checkoway
2007-12-01 23:33:38 +00:00
parent a21830527f
commit 611366a664
11 changed files with 18 additions and 30 deletions
+1 -2
View File
@@ -11,8 +11,7 @@ RString Command::GetName() const
if( m_vsArgs.empty() )
return RString();
RString s = m_vsArgs[0];
TrimLeft( s );
TrimRight( s );
Trim( s );
/* Transition hack: if a command begins with !, don't force it to lowercase. */
if( s.Left(1) == "!" )