瀏覽代碼

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

Brad King 23 年之前
父節點
當前提交
3303599c75
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmFLTKWrapUICommand.cxx

+ 1 - 1
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;