From 22b21ec9bcd511844b4d505dd29664c3366d1418 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Tue, 17 Jul 2018 11:52:57 +0200 Subject: [PATCH] Fixed typos in comments. There are no functional changes intended. --- CMakeLists.txt | 2 +- tinyxml2.h | 2 +- xmltest.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c40cc15..65b64cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ set(GENERIC_LIB_SOVERSION "6") ################################ # Add targets -# By Default shared libray is being built +# By Default shared library is being built # To build static libs also - Do cmake . -DBUILD_STATIC_LIBS:BOOL=ON # User can choose not to build shared library by using cmake -DBUILD_SHARED_LIBS:BOOL=OFF # To build only static libs use cmake . -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_STATIC_LIBS:BOOL=ON diff --git a/tinyxml2.h b/tinyxml2.h index 950c2da..a09bd5b 100755 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -1833,7 +1833,7 @@ public: /// A (trivial) utility function that prints the ErrorStr() to stdout. void PrintError() const; - /// Return the line where the error occured, or zero if unknown. + /// Return the line where the error occurred, or zero if unknown. int ErrorLineNum() const { return _errorLineNum; diff --git a/xmltest.cpp b/xmltest.cpp index a7dbc25..da977d5 100644 --- a/xmltest.cpp +++ b/xmltest.cpp @@ -1967,7 +1967,7 @@ int main( int argc, const char ** argv ) { // No matter - before or after successfully parsing a text - // calling XMLDocument::Value() used to cause an assert in debug. - // Null must be retured. + // Null must be returned. const char* validXml = "" "" "";