# HG changeset patch # User Christian Brabandt # Date 1474833604 -7200 # Node ID 7a4fb555c83a14a067ba654b5ffb579ca2b8220d # Parent 820fe753085601cf002f963c0f335a46bce2ceac commit https://github.com/vim/vim/commit/9af418427652562384744648d7d173a4bfebba95 Author: Bram Moolenaar 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) diff --git a/src/evalfunc.c b/src/evalfunc.c --- 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; diff --git a/src/main.aap b/src/main.aap --- 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 diff --git a/src/nbdebug.c b/src/nbdebug.c --- 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. diff --git a/src/netbeans.c b/src/netbeans.c --- 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. */ diff --git a/src/quickfix.c b/src/quickfix.c --- 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 ) diff --git a/src/version.c b/src/version.c --- 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, diff --git a/src/workshop.c b/src/workshop.c --- a/src/workshop.c +++ b/src/workshop.c @@ -71,7 +71,7 @@ static Boolean workshopHotKeysEnabled = /* * The following enum is from . 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). */ diff --git a/src/wsdebug.c b/src/wsdebug.c --- 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.