Skip to content

Commit 9af4184

Browse files
committed
patch 8.0.0012
Problem: Typos in comments. Solution: Change "its" to "it's". (Matthew Brener, closes #1088)
1 parent 20eeb61 commit 9af4184

8 files changed

Lines changed: 13 additions & 11 deletions

File tree

src/evalfunc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6874,7 +6874,7 @@ libcall_common(typval_T *argvars, typval_T *rettv, int type)
68746874
return;
68756875

68766876
#ifdef FEAT_LIBCALL
6877-
/* The first two args must be strings, otherwise its meaningless */
6877+
/* The first two args must be strings, otherwise it's meaningless */
68786878
if (argvars[0].v_type == VAR_STRING && argvars[1].v_type == VAR_STRING)
68796879
{
68806880
string_in = NULL;

src/main.aap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
--with-mac-arch=$arch
7070
--cache-file=auto/config.cache
7171

72-
# Configure arguments: create an empty "config.arg" file when its missing
72+
# Configure arguments: create an empty "config.arg" file when it's missing
7373
config.arg:
7474
:touch {exist} config.arg
7575

src/nbdebug.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static int errorHandler(Display *, XErrorEvent *);
4141

4242
/*
4343
* nbdebug_wait - This function can be used to delay or stop execution of vim.
44-
* Its normally used to delay startup while attaching a
44+
* It's normally used to delay startup while attaching a
4545
* debugger to a running process. Since workshop starts gvim
4646
* from a background process this is the only way to debug
4747
* startup problems.

src/netbeans.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2156,7 +2156,7 @@ nb_do_cmd(
21562156
else if (streq((char *)cmd, "save"))
21572157
{
21582158
/*
2159-
* NOTE - This command is obsolete wrt NetBeans. Its left in
2159+
* NOTE - This command is obsolete wrt NetBeans. It's left in
21602160
* only for historical reasons.
21612161
*/
21622162
if (buf == NULL || buf->bufp == NULL)
@@ -2242,7 +2242,7 @@ nb_do_cmd(
22422242

22432243
/*
22442244
* Is this needed? I moved the netbeans_Xt_connect() later during startup
2245-
* and it may no longer be necessary. If its not needed then needupdate
2245+
* and it may no longer be necessary. If it's not needed then needupdate
22462246
* and do_update can also be removed.
22472247
*/
22482248
if (buf != NULL && buf->initDone && do_update)
@@ -2856,7 +2856,7 @@ netbeans_unmodified(buf_T *bufp UNUSED)
28562856
}
28572857

28582858
/*
2859-
* Send a button release event back to netbeans. Its up to netbeans
2859+
* Send a button release event back to netbeans. It's up to netbeans
28602860
* to decide what to do (if anything) with this event.
28612861
*/
28622862
void
@@ -3453,7 +3453,7 @@ pos2off(buf_T *buf, pos_T *pos)
34533453

34543454

34553455
/*
3456-
* This message is printed after NetBeans opens a new file. Its
3456+
* This message is printed after NetBeans opens a new file. It's
34573457
* similar to the message readfile() uses, but since NetBeans
34583458
* doesn't normally call readfile, we do our own.
34593459
*/

src/quickfix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3569,7 +3569,7 @@ get_mef_name(void)
35693569
STRCAT(name, p + 2);
35703570
if (mch_getperm(name) < 0
35713571
#ifdef HAVE_LSTAT
3572-
/* Don't accept a symbolic link, its a security risk. */
3572+
/* Don't accept a symbolic link, it's a security risk. */
35733573
&& mch_lstat((char *)name, &sb) < 0
35743574
#endif
35753575
)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
12,
767769
/**/
768770
11,
769771
/**/

src/workshop.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ static Boolean workshopHotKeysEnabled = False;
7171

7272
/*
7373
* The following enum is from <gp_dbx/gp_dbx_common.h>. We can't include it
74-
* here because its C++.
74+
* here because it's C++.
7575
*/
7676
enum
7777
{
@@ -1752,7 +1752,7 @@ setDollarVim(
17521752
* directory. This is a Sun Visual WorkShop requirement!
17531753
*
17541754
* Note: We override a user's $VIM because it won't have the
1755-
* WorkShop specific files. S/he may not like this but its
1755+
* WorkShop specific files. S/he may not like this but it's
17561756
* better than getting the wrong files (especially as the
17571757
* user is likely to have $VIM set to 5.4 or later).
17581758
*/

src/wsdebug.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static int errorHandler(Display *, XErrorEvent *);
4747

4848
/*
4949
* wsdebug_wait - This function can be used to delay or stop execution of vim.
50-
* Its normally used to delay startup while attaching a
50+
* It's normally used to delay startup while attaching a
5151
* debugger to a running process. Since workshop starts gvim
5252
* from a background process this is the only way to debug
5353
* startup problems.

0 commit comments

Comments
 (0)