From 5d088aa99c29703092ffca4022fe73418a6d614b Mon Sep 17 00:00:00 2001 From: Ettl Martin Date: Sat, 5 May 2012 15:21:27 +0200 Subject: [PATCH] fixed wrong spelled words in comments. No function change. --- lib/checkstl.cpp | 2 +- lib/path.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/checkstl.cpp b/lib/checkstl.cpp index 4c6988bfc..08fc247d2 100644 --- a/lib/checkstl.cpp +++ b/lib/checkstl.cpp @@ -703,7 +703,7 @@ void CheckStl::stlBoundries() } } -// Error message for bad boundry usage.. +// Error message for bad boundary usage.. void CheckStl::stlBoundriesError(const Token *tok, const std::string &container_name) { reportError(tok, Severity::error, "stlBoundries", diff --git a/lib/path.cpp b/lib/path.cpp index 425bdc28f..a2ddafebf 100644 --- a/lib/path.cpp +++ b/lib/path.cpp @@ -171,7 +171,7 @@ std::string Path::getRelativePath(const std::string& absolutePath, const std::ve bool Path::isC(const std::string &path) { - // In unix, ".C" is concidered C++ file + // In unix, ".C" is considered C++ file const std::string extension = getFilenameExtension(path); return(extension == ".c"); } @@ -188,7 +188,7 @@ bool Path::isCPP(const std::string &path) return true; } - // In unix, ".C" is concidered C++ file + // In unix, ".C" is considered C++ file return(getFilenameExtension(path) == ".C"); }