1
0
forked from aniani/vim

patch 8.0.0012

Problem:    Typos in comments.
Solution:   Change "its" to "it's". (Matthew Brener, closes #1088)
This commit is contained in:
Bram Moolenaar
2016-09-25 21:45:05 +02:00
parent 20eeb6129d
commit 9af4184276
8 changed files with 13 additions and 11 deletions

View File

@@ -6874,7 +6874,7 @@ libcall_common(typval_T *argvars, typval_T *rettv, int type)
return; return;
#ifdef FEAT_LIBCALL #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) if (argvars[0].v_type == VAR_STRING && argvars[1].v_type == VAR_STRING)
{ {
string_in = NULL; string_in = NULL;

View File

@@ -69,7 +69,7 @@
--with-mac-arch=$arch --with-mac-arch=$arch
--cache-file=auto/config.cache --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: config.arg:
:touch {exist} config.arg :touch {exist} config.arg

View File

@@ -41,7 +41,7 @@ static int errorHandler(Display *, XErrorEvent *);
/* /*
* nbdebug_wait - This function can be used to delay or stop execution of vim. * 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 * debugger to a running process. Since workshop starts gvim
* from a background process this is the only way to debug * from a background process this is the only way to debug
* startup problems. * startup problems.

View File

@@ -2156,7 +2156,7 @@ nb_do_cmd(
else if (streq((char *)cmd, "save")) 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. * only for historical reasons.
*/ */
if (buf == NULL || buf->bufp == NULL) 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 * 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. * and do_update can also be removed.
*/ */
if (buf != NULL && buf->initDone && do_update) 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. * to decide what to do (if anything) with this event.
*/ */
void 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 * similar to the message readfile() uses, but since NetBeans
* doesn't normally call readfile, we do our own. * doesn't normally call readfile, we do our own.
*/ */

View File

@@ -3569,7 +3569,7 @@ get_mef_name(void)
STRCAT(name, p + 2); STRCAT(name, p + 2);
if (mch_getperm(name) < 0 if (mch_getperm(name) < 0
#ifdef HAVE_LSTAT #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 && mch_lstat((char *)name, &sb) < 0
#endif #endif
) )

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
12,
/**/ /**/
11, 11,
/**/ /**/

View File

@@ -71,7 +71,7 @@ static Boolean workshopHotKeysEnabled = False;
/* /*
* The following enum is from <gp_dbx/gp_dbx_common.h>. We can't include it * 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 enum
{ {
@@ -1752,7 +1752,7 @@ setDollarVim(
* directory. This is a Sun Visual WorkShop requirement! * directory. This is a Sun Visual WorkShop requirement!
* *
* Note: We override a user's $VIM because it won't have the * 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 * better than getting the wrong files (especially as the
* user is likely to have $VIM set to 5.4 or later). * user is likely to have $VIM set to 5.4 or later).
*/ */

View File

@@ -47,7 +47,7 @@ static int errorHandler(Display *, XErrorEvent *);
/* /*
* wsdebug_wait - This function can be used to delay or stop execution of vim. * 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 * debugger to a running process. Since workshop starts gvim
* from a background process this is the only way to debug * from a background process this is the only way to debug
* startup problems. * startup problems.