Skip to content

Commit c4568ab

Browse files
committed
patch 8.1.0528: various typos in comments
Problem: Various typos in comments. Solution: Fix the typos.
1 parent f0d58ef commit c4568ab

22 files changed

Lines changed: 47 additions & 45 deletions

src/INSTALL

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ Contents:
1111

1212
See INSTALLami.txt for Amiga
1313
See INSTALLmac.txt for Macintosh
14-
See INSTALLpc.txt for PC (Windows 95/98/NT/XP/Vista/7/8/10)
14+
See INSTALLpc.txt for PC (Windows XP/Vista/7/8/10)
1515
See INSTALLvms.txt for VMS
1616
See INSTALLx.txt for cross-compiling on Unix
17-
See ../README_390.txt for OS/390 Unix
17+
See ../READMEdir/README_390.txt for z/OS and OS/390 Unix
1818
See ../runtime/doc/os_beos.txt for BeBox
1919

2020

src/fileio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8086,7 +8086,7 @@ aubuflocal_remove(buf_T *buf)
80868086

80878087
/*
80888088
* Add an autocmd group name.
8089-
* Return it's ID. Returns AUGROUP_ERROR (< 0) for error.
8089+
* Return its ID. Returns AUGROUP_ERROR (< 0) for error.
80908090
*/
80918091
static int
80928092
au_new_group(char_u *name)
@@ -8153,7 +8153,7 @@ au_del_group(char_u *name)
81538153

81548154
/*
81558155
* Find the ID of an autocmd group name.
8156-
* Return it's ID. Returns AUGROUP_ERROR (< 0) for error.
8156+
* Return its ID. Returns AUGROUP_ERROR (< 0) for error.
81578157
*/
81588158
static int
81598159
au_find_group(char_u *name)

src/gui.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5501,7 +5501,7 @@ gui_handle_drop(
55015501
p = NULL;
55025502

55035503
/* Handle the drop, :edit or :split to get to the file. This also
5504-
* frees fnames[]. Skip this if there is only one item it's a
5504+
* frees fnames[]. Skip this if there is only one item, it's a
55055505
* directory and Shift is held down. */
55065506
if (count == 1 && (modifiers & MOUSE_SHIFT) != 0
55075507
&& mch_isdir(fnames[0]))

src/gui_athena.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ gui_athena_menu_font(Widget id)
900900
{
901901
XtUnmanageChild(id);
902902
XtVaSetValues(id, XtNfontSet, gui.menu_fontset, NULL);
903-
/* We should force the widget to recalculate it's
903+
/* We should force the widget to recalculate its
904904
* geometry now. */
905905
XtManageChild(id);
906906
}
@@ -929,7 +929,7 @@ gui_athena_menu_font(Widget id)
929929
if (has_submenu(id))
930930
XtVaSetValues(id, XtNrightBitmap, pullerBitmap, NULL);
931931

932-
/* Force the widget to recalculate it's geometry now. */
932+
/* Force the widget to recalculate its geometry now. */
933933
if (managed)
934934
XtManageChild(id);
935935
}
@@ -989,7 +989,7 @@ gui_mch_new_menu_font(void)
989989
}
990990
}
991991
/* Now, to simulate the window being resized. Only, this
992-
* will resize the window to it's current state.
992+
* will resize the window to its current state.
993993
*
994994
* There has to be a better way, but I do not see one at this time.
995995
* (David Harrison)
@@ -1071,7 +1071,7 @@ gui_mch_submenu_change(
10711071
}
10721072

10731073
# ifdef FEAT_BEVAL_GUI
1074-
/* If we have a tooltip, then we need to change it's colors */
1074+
/* If we have a tooltip, then we need to change its colors */
10751075
if (mp->tip != NULL)
10761076
{
10771077
Arg args[2];
@@ -1089,7 +1089,7 @@ gui_mch_submenu_change(
10891089
{
10901090
gui_athena_menu_font(mp->id);
10911091
#ifdef FEAT_BEVAL_GUI
1092-
/* If we have a tooltip, then we need to change it's font */
1092+
/* If we have a tooltip, then we need to change its font */
10931093
/* Assume XtNinternational == True (in createBalloonEvalWindow)
10941094
*/
10951095
if (mp->tip != NULL)
@@ -1552,7 +1552,7 @@ gui_mch_destroy_menu(vimmenu_T *menu)
15521552
* This is a hack to stop the Athena simpleMenuWidget from getting a
15531553
* BadValue error when a menu's last child is destroyed. We check to
15541554
* see if this is the last child and if so, don't delete it. The parent
1555-
* will be deleted soon anyway, and it will delete it's children like
1555+
* will be deleted soon anyway, and it will delete its children like
15561556
* all good widgets do.
15571557
*/
15581558
/* NOTE: The cause of the BadValue X Protocol Error is because when the

src/gui_gtk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ gui_mch_destroy_menu(vimmenu_T *menu)
925925
g_object_ref(menu->id);
926926

927927
/* Workaround for a spurious gtk warning in Ubuntu: "Trying to remove
928-
* a child that doesn't believe we're it's parent."
928+
* a child that doesn't believe we're its parent."
929929
* Remove widget from gui.menubar before destroying it. */
930930
if (menu->id != NULL && gui.menubar != NULL
931931
&& gtk_widget_get_parent(menu->id) == gui.menubar)

src/gui_gtk_x11.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4284,7 +4284,7 @@ mainwin_destroy_cb(GObject *object UNUSED, gpointer data UNUSED)
42844284
* hints (and thus the required size from -geom), but that after that we
42854285
* put the hints back to normal (the actual minimum size) so we may
42864286
* subsequently be resized smaller. GtkSocket (the parent end) uses the
4287-
* plug's window 'min hints to set *it's* minimum size, but that's also the
4287+
* plug's window 'min hints to set *its* minimum size, but that's also the
42884288
* only way we have of making ourselves bigger (by set lines/columns).
42894289
* Thus set hints at start-up to ensure correct init. size, then a
42904290
* second after the final attempt to reset the real minimum hints (done by

src/gui_mac.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2278,7 +2278,7 @@ gui_mac_doKeyEvent(EventRecord *theEvent)
22782278
if (p_mh)
22792279
ObscureCursor();
22802280

2281-
/* Get the key code and it's ASCII representation */
2281+
/* Get the key code and its ASCII representation */
22822282
key_sym = ((theEvent->message & keyCodeMask) >> 8);
22832283
key_char = theEvent->message & charCodeMask;
22842284
num = 1;
@@ -2597,7 +2597,7 @@ gui_mac_mouse_wheel(EventHandlerCallRef nextHandler, EventRef theEvent,
25972597
bail:
25982598
/*
25992599
* when we fail give any additional callback handler a chance to perform
2600-
* it's actions
2600+
* its actions
26012601
*/
26022602
return CallNextEventHandler(nextHandler, theEvent);
26032603
}

src/gui_motif.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ gui_mch_compute_menu_height(
11141114
XtManageChild(id);
11151115

11161116
/*
1117-
* Now find the menu item that is the furthest down, and get it's position.
1117+
* Now find the menu item that is the furthest down, and get its position.
11181118
*/
11191119
maxy = 0;
11201120
for (mp = root_menu; mp != NULL; mp = mp->next)
@@ -1550,7 +1550,7 @@ submenu_change(
15501550
XtSetValues(mp->id, args, n);
15511551
}
15521552
# ifdef FEAT_BEVAL_GUI
1553-
/* If we have a tooltip, then we need to change it's font */
1553+
/* If we have a tooltip, then we need to change its font */
15541554
if (mp->tip != NULL)
15551555
{
15561556
Arg args[2];
@@ -1568,7 +1568,7 @@ submenu_change(
15681568
{
15691569
gui_motif_menu_fontlist(mp->id);
15701570
#ifdef FEAT_BEVAL_GUI
1571-
/* If we have a tooltip, then we need to change it's font */
1571+
/* If we have a tooltip, then we need to change its font */
15721572
if (mp->tip != NULL)
15731573
{
15741574
Arg args[1];
@@ -2089,7 +2089,7 @@ set_fontlist(Widget id)
20892089
{
20902090
XtUnmanageChild(id);
20912091
XtVaSetValues(id, XmNfontList, fl, NULL);
2092-
/* We should force the widget to recalculate it's
2092+
/* We should force the widget to recalculate its
20932093
* geometry now. */
20942094
XtManageChild(id);
20952095
}
@@ -2108,7 +2108,7 @@ set_fontlist(Widget id)
21082108
{
21092109
XtUnmanageChild(id);
21102110
XtVaSetValues(id, XmNfontList, fl, NULL);
2111-
/* We should force the widget to recalculate it's
2111+
/* We should force the widget to recalculate its
21122112
* geometry now. */
21132113
XtManageChild(id);
21142114
}
@@ -3407,7 +3407,7 @@ gui_motif_menu_fontlist(Widget id UNUSED)
34073407
{
34083408
XtUnmanageChild(id);
34093409
XtVaSetValues(id, XmNfontList, fl, NULL);
3410-
/* We should force the widget to recalculate it's
3410+
/* We should force the widget to recalculate its
34113411
* geometry now. */
34123412
XtManageChild(id);
34133413
}
@@ -3428,7 +3428,7 @@ gui_motif_menu_fontlist(Widget id UNUSED)
34283428
{
34293429
XtUnmanageChild(id);
34303430
XtVaSetValues(id, XmNfontList, fl, NULL);
3431-
/* We should force the widget to recalculate it's
3431+
/* We should force the widget to recalculate its
34323432
* geometry now. */
34333433
XtManageChild(id);
34343434
}

src/gui_w32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5658,7 +5658,7 @@ get_work_area(RECT *spi_rect)
56585658
HMONITOR mon;
56595659
MONITORINFO moninfo;
56605660

5661-
/* work out which monitor the window is on, and get *it's* work area */
5661+
/* work out which monitor the window is on, and get *its* work area */
56625662
mon = MonitorFromWindow(s_hwnd, MONITOR_DEFAULTTOPRIMARY);
56635663
if (mon != NULL)
56645664
{

src/gui_xmebw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
* implementation. Also missing in Motif 1.2 and earlier.
5151
*
5252
* We neither use XmeGetPixmapData or _XmGetPixmapData, since with LessTif the
53-
* pixmap will not appear in it's caches properly. We cache the interesting
53+
* pixmap will not appear in its caches properly. We cache the interesting
5454
* values in XmEnhancedButtonPart instead ourself.
5555
*/
5656
#if defined(LESSTIF_VERSION) || (XmVersion <= 1002)

0 commit comments

Comments
 (0)