summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-26 14:29:11 (GMT)
committerBrad King <brad.king@kitware.com>2006-08-26 14:29:11 (GMT)
commit9b89d84210527292f411590187eb6d7aa1e4eb20 (patch)
treeafecfe9695ef04d69540b902f2daf1872174f5c7
parent5d632330b6bf4b1354df76373343aaa57aa09c94 (diff)
downloadCMake-9b89d84210527292f411590187eb6d7aa1e4eb20.zip
CMake-9b89d84210527292f411590187eb6d7aa1e4eb20.tar.gz
CMake-9b89d84210527292f411590187eb6d7aa1e4eb20.tar.bz2
STYLE: Fixed line-too-long.
-rw-r--r--Source/cmIfCommand.cxx8
-rw-r--r--Source/cmListCommand.cxx2
2 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx
index c9a6c08..3297022 100644
--- a/Source/cmIfCommand.cxx
+++ b/Source/cmIfCommand.cxx
@@ -243,11 +243,13 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args,
reducible = 1;
}
// is file A newer than file B
- if (*arg == "FILE_IS_NEWER" && argP1 != newArgs.end() && argP2 != newArgs.end())
+ if (*arg == "FILE_IS_NEWER" &&
+ argP1 != newArgs.end() && argP2 != newArgs.end())
{
int fileIsNewer=0;
- bool success=cmSystemTools::FileTimeCompare((argP1)->c_str(), (argP2)->c_str(),
- &fileIsNewer);
+ bool success=cmSystemTools::FileTimeCompare((argP1)->c_str(),
+ (argP2)->c_str(),
+ &fileIsNewer);
if(success==false || fileIsNewer==1 || fileIsNewer==0)
{
*arg = "1";
diff --git a/Source/cmListCommand.cxx b/Source/cmListCommand.cxx
index 017b703..b546d20 100644
--- a/Source/cmListCommand.cxx
+++ b/Source/cmListCommand.cxx
@@ -266,7 +266,7 @@ bool cmListCommand
{
if(args.size() < 3)
{
- this->SetError("sub-command REMOVE_ITEM requires at least two arguments.");
+ this->SetError("sub-command REMOVE_ITEM requires two or more arguments.");
return false;
}