ERR: Less-than-zero test replaced with greater-than-zero since we want zero arguments.

This commit is contained in:
Brad King 2001-03-13 09:33:55 -05:00
parent ce484264de
commit 50c9139628
1 changed files with 1 additions and 1 deletions

View File

@ -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;