Mercurial > vim
diff src/gui_athena.c @ 15034:6e4e0d43b20b v8.1.0528
patch 8.1.0528: various typos in comments
commit https://github.com/vim/vim/commit/c4568ab37edc01e01f258d64bceddcd01633a268
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 16 16:21:05 2018 +0100
patch 8.1.0528: various typos in comments
Problem: Various typos in comments.
Solution: Fix the typos.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 16 Nov 2018 16:30:07 +0100 |
parents | 27b9a84395b5 |
children | 79e10adc821d |
line wrap: on
line diff
--- a/src/gui_athena.c +++ b/src/gui_athena.c @@ -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