ERR: Less-than-zero test replaced with greater-than-zero since we want zero arguments.
This commit is contained in:
parent
ce484264de
commit
50c9139628
|
@ -18,7 +18,7 @@
|
||||||
// cmWrapTclCommand
|
// cmWrapTclCommand
|
||||||
bool cmWrapTclCommand::Invoke(std::vector<std::string>& args)
|
bool cmWrapTclCommand::Invoke(std::vector<std::string>& args)
|
||||||
{
|
{
|
||||||
if(args.size() < 0 )
|
if(args.size() > 0 )
|
||||||
{
|
{
|
||||||
this->SetError("called with incorrect number of arguments");
|
this->SetError("called with incorrect number of arguments");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue