summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-03-13 14:33:55 (GMT)
committerBrad King <brad.king@kitware.com>2001-03-13 14:33:55 (GMT)
commit50c91396288ab87c21e32d5ff3ae13ce3805d2c4 (patch)
tree57382d42b2409ee52d842ec39aceaf0449d09321 /Source
parentce484264de3ae08a5cca9b6c3f75d1a1f914b4a4 (diff)
downloadCMake-50c91396288ab87c21e32d5ff3ae13ce3805d2c4.zip
CMake-50c91396288ab87c21e32d5ff3ae13ce3805d2c4.tar.gz
CMake-50c91396288ab87c21e32d5ff3ae13ce3805d2c4.tar.bz2
ERR: Less-than-zero test replaced with greater-than-zero since we want zero arguments.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmWrapTclCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmWrapTclCommand.cxx b/Source/cmWrapTclCommand.cxx
index b563c3a..b6e3d40 100644
--- a/Source/cmWrapTclCommand.cxx
+++ b/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;