Browse Source

Fix misc typos in documentation and comments

luz.paz 7 năm trước cách đây
mục cha
commit
32f6b7a43b
3 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 1 1
      Modules/CPackNSIS.cmake
  2. 1 1
      Source/CTest/cmCTestScriptHandler.cxx
  3. 1 1
      Source/cmCTest.h

+ 1 - 1
Modules/CPackNSIS.cmake

@@ -126,7 +126,7 @@
 # .. variable:: CPACK_NSIS_MENU_LINKS
 #
 #  Specify links in [application] menu.  This should contain a list of pair
-#  "link" "link name". The link may be an URL or a path relative to
+#  "link" "link name". The link may be a URL or a path relative to
 #  installation prefix.  Like::
 #
 #   set(CPACK_NSIS_MENU_LINKS

+ 1 - 1
Source/CTest/cmCTestScriptHandler.cxx

@@ -527,7 +527,7 @@ int cmCTestScriptHandler::RunConfigurationScript(
     return result;
   }
 
-  // only run the curent script if we should
+  // only run the current script if we should
   if (this->Makefile && this->Makefile->IsOn("CTEST_RUN_CURRENT_SCRIPT") &&
       this->ShouldRunCurrentScript) {
     return this->RunCurrentScript();

+ 1 - 1
Source/cmCTest.h

@@ -347,7 +347,7 @@ public:
                                               const std::string& cmake_var,
                                               bool suppress = false);
 
-  /** Make string safe to be send as an URL */
+  /** Make string safe to be sent as a URL */
   static std::string MakeURLSafe(const std::string&);
 
   /** Decode a URL to the original string.  */