STYLE: Fix typos

This commit is contained in:
Andy Cedilnik 2005-07-06 15:51:11 -04:00
parent 0b86a0c926
commit c4db8aba73
3 changed files with 3 additions and 3 deletions

View File

@ -334,7 +334,7 @@ bool cmCacheManager::SaveCache(const char* path)
cmSystemTools::ReportLastSystemError(""); cmSystemTools::ReportLastSystemError("");
return false; return false;
} }
// before writting the cache, update the version numbers // before writing the cache, update the version numbers
// to the // to the
char temp[1024]; char temp[1024];
sprintf(temp, "%d", cmMakefile::GetMinorVersion()); sprintf(temp, "%d", cmMakefile::GetMinorVersion());

View File

@ -119,7 +119,7 @@ bool cmFileCommand::HandleWriteCommand(std::vector<std::string> const& args,
{ {
std::string error = "Internal CMake error when trying to open file: "; std::string error = "Internal CMake error when trying to open file: ";
error += fileName.c_str(); error += fileName.c_str();
error += " for writting."; error += " for writing.";
this->SetError(error.c_str()); this->SetError(error.c_str());
return false; return false;
} }

View File

@ -75,7 +75,7 @@ bool cmWriteFileCommand::InitialPass(std::vector<std::string> const& args)
{ {
std::string error = "Internal CMake error when trying to open file: "; std::string error = "Internal CMake error when trying to open file: ";
error += fileName.c_str(); error += fileName.c_str();
error += " for writting."; error += " for writing.";
this->SetError(error.c_str()); this->SetError(error.c_str());
return false; return false;
} }