changeset 10226:7a4fb555c83a v8.0.0012

commit https://github.com/vim/vim/commit/9af418427652562384744648d7d173a4bfebba95 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 25 21:45:05 2016 +0200 patch 8.0.0012 Problem: Typos in comments. Solution: Change "its" to "it's". (Matthew Brener, closes https://github.com/vim/vim/issues/1088)
author Christian Brabandt <cb@256bit.org>
date Sun, 25 Sep 2016 22:00:04 +0200
parents 820fe7530856
children 3c984cfd5293
files src/evalfunc.c src/main.aap src/nbdebug.c src/netbeans.c src/quickfix.c src/version.c src/workshop.c src/wsdebug.c
diffstat 8 files changed, 13 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -6874,7 +6874,7 @@ libcall_common(typval_T *argvars, typval
 	return;
 
 #ifdef FEAT_LIBCALL
-    /* The first two args must be strings, otherwise its meaningless */
+    /* The first two args must be strings, otherwise it's meaningless */
     if (argvars[0].v_type == VAR_STRING && argvars[1].v_type == VAR_STRING)
     {
 	string_in = NULL;
--- a/src/main.aap
+++ b/src/main.aap
@@ -69,7 +69,7 @@
                     --with-mac-arch=$arch
                     --cache-file=auto/config.cache
 
-    # Configure arguments: create an empty "config.arg" file when its missing
+    # Configure arguments: create an empty "config.arg" file when it's missing
     config.arg:
         :touch {exist} config.arg
 
--- a/src/nbdebug.c
+++ b/src/nbdebug.c
@@ -41,7 +41,7 @@ static int	 errorHandler(Display *, XErr
 
 /*
  * nbdebug_wait	-   This function can be used to delay or stop execution of vim.
- *		    Its normally used to delay startup while attaching a
+ *		    It's normally used to delay startup while attaching a
  *		    debugger to a running process. Since workshop starts gvim
  *		    from a background process this is the only way to debug
  *		    startup problems.
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -2156,7 +2156,7 @@ nb_do_cmd(
 	else if (streq((char *)cmd, "save"))
 	{
 	    /*
-	     * NOTE - This command is obsolete wrt NetBeans. Its left in
+	     * NOTE - This command is obsolete wrt NetBeans. It's left in
 	     * only for historical reasons.
 	     */
 	    if (buf == NULL || buf->bufp == NULL)
@@ -2242,7 +2242,7 @@ nb_do_cmd(
 
     /*
      * Is this needed? I moved the netbeans_Xt_connect() later during startup
-     * and it may no longer be necessary. If its not needed then needupdate
+     * and it may no longer be necessary. If it's not needed then needupdate
      * and do_update can also be removed.
      */
     if (buf != NULL && buf->initDone && do_update)
@@ -2856,7 +2856,7 @@ netbeans_unmodified(buf_T *bufp UNUSED)
 }
 
 /*
- * Send a button release event back to netbeans. Its up to netbeans
+ * Send a button release event back to netbeans. It's up to netbeans
  * to decide what to do (if anything) with this event.
  */
     void
@@ -3453,7 +3453,7 @@ pos2off(buf_T *buf, pos_T *pos)
 
 
 /*
- * This message is printed after NetBeans opens a new file. Its
+ * This message is printed after NetBeans opens a new file. It's
  * similar to the message readfile() uses, but since NetBeans
  * doesn't normally call readfile, we do our own.
  */
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -3569,7 +3569,7 @@ get_mef_name(void)
 	STRCAT(name, p + 2);
 	if (mch_getperm(name) < 0
 #ifdef HAVE_LSTAT
-		    /* Don't accept a symbolic link, its a security risk. */
+		    /* Don't accept a symbolic link, it's a security risk. */
 		    && mch_lstat((char *)name, &sb) < 0
 #endif
 		)
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    12,
+/**/
     11,
 /**/
     10,
--- a/src/workshop.c
+++ b/src/workshop.c
@@ -71,7 +71,7 @@ static Boolean	 workshopHotKeysEnabled =
 
 /*
  * The following enum is from <gp_dbx/gp_dbx_common.h>. We can't include it
- * here because its C++.
+ * here because it's C++.
  */
 enum
 {
@@ -1752,7 +1752,7 @@ setDollarVim(
  *			directory. This is a Sun Visual WorkShop requirement!
  *
  * Note:		We override a user's $VIM because it won't have the
- *			WorkShop specific files. S/he may not like this but its
+ *			WorkShop specific files. S/he may not like this but it's
  *			better than getting the wrong files (especially as the
  *			user is likely to have $VIM set to 5.4 or later).
  */
--- a/src/wsdebug.c
+++ b/src/wsdebug.c
@@ -47,7 +47,7 @@ static int	 errorHandler(Display *, XErr
 
 /*
  * wsdebug_wait	-   This function can be used to delay or stop execution of vim.
- *		    Its normally used to delay startup while attaching a
+ *		    It's normally used to delay startup while attaching a
  *		    debugger to a running process. Since workshop starts gvim
  *		    from a background process this is the only way to debug
  *		    startup problems.