1
0
forked from aniani/vim

patch 8.1.0528: various typos in comments

Problem:    Various typos in comments.
Solution:   Fix the typos.
This commit is contained in:
Bram Moolenaar
2018-11-16 16:21:05 +01:00
parent f0d58efc9d
commit c4568ab37e
22 changed files with 47 additions and 45 deletions

View File

@@ -900,7 +900,7 @@ gui_athena_menu_font(Widget id)
{
XtUnmanageChild(id);
XtVaSetValues(id, XtNfontSet, gui.menu_fontset, NULL);
/* We should force the widget to recalculate it's
/* We should force the widget to recalculate its
* geometry now. */
XtManageChild(id);
}
@@ -929,7 +929,7 @@ gui_athena_menu_font(Widget id)
if (has_submenu(id))
XtVaSetValues(id, XtNrightBitmap, pullerBitmap, NULL);
/* Force the widget to recalculate it's geometry now. */
/* Force the widget to recalculate its geometry now. */
if (managed)
XtManageChild(id);
}
@@ -989,7 +989,7 @@ gui_mch_new_menu_font(void)
}
}
/* Now, to simulate the window being resized. Only, this
* will resize the window to it's current state.
* will resize the window to its current state.
*
* There has to be a better way, but I do not see one at this time.
* (David Harrison)
@@ -1071,7 +1071,7 @@ gui_mch_submenu_change(
}
# ifdef FEAT_BEVAL_GUI
/* If we have a tooltip, then we need to change it's colors */
/* If we have a tooltip, then we need to change its colors */
if (mp->tip != NULL)
{
Arg args[2];
@@ -1089,7 +1089,7 @@ gui_mch_submenu_change(
{
gui_athena_menu_font(mp->id);
#ifdef FEAT_BEVAL_GUI
/* If we have a tooltip, then we need to change it's font */
/* If we have a tooltip, then we need to change its font */
/* Assume XtNinternational == True (in createBalloonEvalWindow)
*/
if (mp->tip != NULL)
@@ -1552,7 +1552,7 @@ gui_mch_destroy_menu(vimmenu_T *menu)
* This is a hack to stop the Athena simpleMenuWidget from getting a
* BadValue error when a menu's last child is destroyed. We check to
* see if this is the last child and if so, don't delete it. The parent
* will be deleted soon anyway, and it will delete it's children like
* will be deleted soon anyway, and it will delete its children like
* all good widgets do.
*/
/* NOTE: The cause of the BadValue X Protocol Error is because when the