Przeglądaj źródła

Merge remote-tracking branch 'origin/master' into manydecs

Lee Thomason 7 lat temu
rodzic
commit
92506ca698
3 zmienionych plików z 3 dodań i 3 usunięć
  1. 1 1
      CMakeLists.txt
  2. 1 1
      tinyxml2.h
  3. 1 1
      xmltest.cpp

+ 1 - 1
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

+ 1 - 1
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;

+ 1 - 1
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 = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>"
 	                           "<first />"
 	                           "<second />";