From 3303599c7586bffa39b6ec79f885c3f008bca702 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 17 Dec 2002 14:55:49 -0500 Subject: BUG: Need at least 2 arguments, not exactly 2. --- Source/cmFLTKWrapUICommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 const& args) { - if(args.size() != 2 ) + if(args.size() < 2 ) { this->SetError("called with incorrect number of arguments"); return false; -- cgit v0.12