diff --git a/OpenSim/Common/FileAdapter.h b/OpenSim/Common/FileAdapter.h index 4528a33480..92c0834bbb 100644 --- a/OpenSim/Common/FileAdapter.h +++ b/OpenSim/Common/FileAdapter.h @@ -93,7 +93,7 @@ class UnexpectedColumnLabel : public IOError { const std::string& expected, const std::string& received) : IOError(file, line, func) { - std::string msg = "Error reading column Labels in file '" + filename; + std::string msg = "Error reading column labels in file '" + filename; msg += "'. Unexpected column label. "; msg += "Expected = " + expected + ". "; msg += "Received = " + received + ". "; diff --git a/OpenSim/Common/TRCFileAdapter.h b/OpenSim/Common/TRCFileAdapter.h index a665d2bb8a..e236dabc42 100644 --- a/OpenSim/Common/TRCFileAdapter.h +++ b/OpenSim/Common/TRCFileAdapter.h @@ -122,7 +122,7 @@ class IncorrectNumColumnLabels : public IOError { size_t expected, size_t received) : IOError(file, line, func) { - std::string msg = "Error reading column Labels in file '" + filename; + std::string msg = "Error reading column labels in file '" + filename; msg += "'. Unexpected number of column labels. "; msg += "Expected = " + std::to_string(expected) + ". "; msg += "Recieved = " + std::to_string(received) + ".";