Browse Source

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

Brad King 24 years ago
parent
commit
50c9139628
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmWrapTclCommand.cxx

+ 1 - 1
Source/cmWrapTclCommand.cxx

@@ -18,7 +18,7 @@
 // cmWrapTclCommand
 bool cmWrapTclCommand::Invoke(std::vector<std::string>& args)
 {
-  if(args.size() < 0 )
+  if(args.size() > 0 )
     {
     this->SetError("called with incorrect number of arguments");
     return false;