diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2021-12-27 17:21:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-27 17:21:41 +0000 |
commit | af4a61a85d6e8cacc35324f266934bc463a21673 (patch) | |
tree | 3b2e75b8a36bc8e79d2bc407d929a84b69fd0e0c /src/menu.c | |
parent | 5da36052a4bb0f3a9747ec3a8ab9d85e058e39fa (diff) | |
download | vim-git-af4a61a85d6e8cacc35324f266934bc463a21673.tar.gz |
patch 8.2.3914: various spelling mistakes in commentsv8.2.3914
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/menu.c b/src/menu.c index 2cd3270fe..c0a1f3a71 100644 --- a/src/menu.c +++ b/src/menu.c @@ -582,7 +582,7 @@ add_menu_path( goto erret; } - // Not already there, so lets add it + // Not already there, so let's add it menu = ALLOC_CLEAR_ONE(vimmenu_T); if (menu == NULL) goto erret; @@ -997,7 +997,7 @@ remove_menu( // Recalculate modes for menu based on the new updated children menu->modes &= ~modes; #if defined(FEAT_GUI_MSWIN) & defined(FEAT_TEAROFF) - if ((s_tearoffs) && (menu->children != NULL)) // there's a tear bar.. + if ((s_tearoffs) && (menu->children != NULL)) // there's a tear bar. child = menu->children->next; // don't count tearoff bar else #endif @@ -1018,7 +1018,7 @@ remove_menu( { // The menu item is no longer valid in ANY mode, so delete it #if defined(FEAT_GUI_MSWIN) & defined(FEAT_TEAROFF) - if (s_tearoffs && menu->children != NULL) // there's a tear bar.. + if (s_tearoffs && menu->children != NULL) // there's a tear bar. free_menu(&menu->children); #endif *menup = menu; |