BUG: Need at least 2 arguments, not exactly 2.

This commit is contained in:
Brad King 2002-12-17 14:55:49 -05:00
parent ad5d35c6cf
commit 3303599c75

View File

@ -19,7 +19,7 @@
// cmFLTKWrapUICommand // cmFLTKWrapUICommand
bool cmFLTKWrapUICommand::InitialPass(std::vector<std::string> const& args) 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"); this->SetError("called with incorrect number of arguments");
return false; return false;