From 50c91396288ab87c21e32d5ff3ae13ce3805d2c4 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 13 Mar 2001 09:33:55 -0500 Subject: [PATCH] ERR: Less-than-zero test replaced with greater-than-zero since we want zero arguments. --- Source/cmWrapTclCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmWrapTclCommand.cxx b/Source/cmWrapTclCommand.cxx index b563c3ace..b6e3d402c 100644 --- a/Source/cmWrapTclCommand.cxx +++ b/Source/cmWrapTclCommand.cxx @@ -18,7 +18,7 @@ // cmWrapTclCommand bool cmWrapTclCommand::Invoke(std::vector& args) { - if(args.size() < 0 ) + if(args.size() > 0 ) { this->SetError("called with incorrect number of arguments"); return false;