fix string commands not being recognized as such if bordered by whitespace
This commit is contained in:
@@ -30,6 +30,8 @@ ActorCommands::ActorCommands( const CString &sCommands )
|
|||||||
{
|
{
|
||||||
const Command& cmd = (*c);
|
const Command& cmd = (*c);
|
||||||
CString sName = cmd.GetName();
|
CString sName = cmd.GetName();
|
||||||
|
TrimLeft( sName );
|
||||||
|
TrimRight( sName );
|
||||||
s << "\tself:" << sName << "(";
|
s << "\tself:" << sName << "(";
|
||||||
|
|
||||||
bool bFirstParamIsString =
|
bool bFirstParamIsString =
|
||||||
|
|||||||
Reference in New Issue
Block a user