summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-12-17 19:55:49 (GMT)
committerBrad King <brad.king@kitware.com>2002-12-17 19:55:49 (GMT)
commit3303599c7586bffa39b6ec79f885c3f008bca702 (patch)
treeff2aef2380adafd37537436040593e8a7e289a1a
parentad5d35c6cf4f75c724d9ca1ee37ce70aacffb40b (diff)
downloadCMake-3303599c7586bffa39b6ec79f885c3f008bca702.zip
CMake-3303599c7586bffa39b6ec79f885c3f008bca702.tar.gz
CMake-3303599c7586bffa39b6ec79f885c3f008bca702.tar.bz2
BUG: Need at least 2 arguments, not exactly 2.
-rw-r--r--Source/cmFLTKWrapUICommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFLTKWrapUICommand.cxx b/Source/cmFLTKWrapUICommand.cxx
index 6d6474b..aa098d9 100644
--- a/Source/cmFLTKWrapUICommand.cxx
+++ b/Source/cmFLTKWrapUICommand.cxx
@@ -19,7 +19,7 @@
// cmFLTKWrapUICommand
bool cmFLTKWrapUICommand::InitialPass(std::vector<std::string> const& args)
{
- if(args.size() != 2 )
+ if(args.size() < 2 )
{
this->SetError("called with incorrect number of arguments");
return false;