Mercurial > vim
diff src/menu.c @ 16162:cd5c83115ec6 v8.1.1086
patch 8.1.1086: too many curly braces
commit https://github.com/vim/vim/commit/abab0b0fdd6535969447b03a4fffc1947918cf6c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 30 18:47:01 2019 +0100
patch 8.1.1086: too many curly braces
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Mar 2019 19:00:07 +0100 |
parents | 7fad90423bd2 |
children | c1c25e2523a6 |
line wrap: on
line diff
--- a/src/menu.c +++ b/src/menu.c @@ -1701,9 +1701,7 @@ popup_mode_name(char_u *name, int idx) { mch_memmove(p + 5 + mode_chars_len, p + 5, (size_t)(len - 4)); for (i = 0; i < mode_chars_len; ++i) - { p[5 + i] = menu_mode_chars[idx][i]; - } } return p; } @@ -1889,9 +1887,7 @@ get_menu_mode(void) { #ifdef FEAT_TERMINAL if (term_use_loop()) - { return MENU_INDEX_TERMINAL; - } #endif if (VIsual_active) {