[brlcad-commits] SF.net SVN: brlcad:[43820] geomcore/trunk/src/GS/GSCmdLineClient.cxx
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <dav...@us...> - 2011-03-09 16:10:18
|
Revision: 43820 http://brlcad.svn.sourceforge.net/brlcad/?rev=43820&view=rev Author: davidloman Date: 2011-03-09 16:10:12 +0000 (Wed, 09 Mar 2011) Log Message: ----------- Since the cmd was copied from the front of the stack, pop off the first element prior to passing to the cmd processor. Modified Paths: -------------- geomcore/trunk/src/GS/GSCmdLineClient.cxx Modified: geomcore/trunk/src/GS/GSCmdLineClient.cxx =================================================================== --- geomcore/trunk/src/GS/GSCmdLineClient.cxx 2011-03-09 16:01:41 UTC (rev 43819) +++ geomcore/trunk/src/GS/GSCmdLineClient.cxx 2011-03-09 16:10:12 UTC (rev 43820) @@ -87,6 +87,8 @@ std::string cmd(*(list.begin())); std::transform(cmd.begin(), cmd.end(), cmd.begin(), ::tolower); + list.pop_front(); /* remove the cmd from the front */ + this->execCmd(cmd, list); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |