fix string commands not being recognized as such if bordered by whitespace

This commit is contained in:
Glenn Maynard
2005-02-27 03:24:16 +00:00
parent 81bf2cf8ff
commit 8c31d9cdd9
+2
View File
@@ -30,6 +30,8 @@ ActorCommands::ActorCommands( const CString &sCommands )
{
const Command& cmd = (*c);
CString sName = cmd.GetName();
TrimLeft( sName );
TrimRight( sName );
s << "\tself:" << sName << "(";
bool bFirstParamIsString =