Merge topic 'cmMakefile-comment-typos'

3853a6c spell: fix a few typos in comments
This commit is contained in:
Brad King 2013-01-24 08:25:53 -05:00 committed by CMake Topic Stage
commit 907f1e2227
1 changed files with 3 additions and 3 deletions

View File

@ -2260,7 +2260,7 @@ bool cmMakefile::CanIWriteThisFile(const char* fileName)
{ {
return true; return true;
} }
// If we are doing an in-source build, than the test will always fail // If we are doing an in-source build, then the test will always fail
if ( cmSystemTools::SameFile(this->GetHomeDirectory(), if ( cmSystemTools::SameFile(this->GetHomeDirectory(),
this->GetHomeOutputDirectory()) ) this->GetHomeOutputDirectory()) )
{ {
@ -2271,8 +2271,8 @@ bool cmMakefile::CanIWriteThisFile(const char* fileName)
return true; return true;
} }
// Check if this is subdirectory of the source tree but not a // Check if this is a subdirectory of the source tree but not a
// subdirectory of a build tree // subdirectory of the build tree
if ( cmSystemTools::IsSubDirectory(fileName, if ( cmSystemTools::IsSubDirectory(fileName,
this->GetHomeDirectory()) && this->GetHomeDirectory()) &&
!cmSystemTools::IsSubDirectory(fileName, !cmSystemTools::IsSubDirectory(fileName,