diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-30 18:54:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-30 18:54:39 +0000 |
commit | c9b4b05b3544b434730eb218e848a1a441d5ffb2 (patch) | |
tree | c1550ddf398d2030ed25ee98e8342fcb41ac1c87 /src/menu.c | |
parent | aa35dd1667c5903cdcc32ebe10f27bc6683c68a1 (diff) | |
download | vim-git-c9b4b05b3544b434730eb218e848a1a441d5ffb2.tar.gz |
updated for version 7.0gv7.0g
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/menu.c b/src/menu.c index 8b4539563..dac4754cd 100644 --- a/src/menu.c +++ b/src/menu.c @@ -1489,7 +1489,7 @@ get_menu_cmd_modes(cmd, forceit, noremap, unmenu) case 'a': /* amenu */ modes = MENU_INSERT_MODE | MENU_CMDLINE_MODE | MENU_NORMAL_MODE | MENU_VISUAL_MODE | MENU_SELECT_MODE - | MENU_OP_PENDING_MODE; + | MENU_OP_PENDING_MODE; break; case 'n': if (*cmd != 'o') /* nmenu, not noremenu */ @@ -1555,10 +1555,10 @@ get_menu_index(menu, state) #ifdef FEAT_VISUAL else if (VIsual_active) { - if (VIsual_select) - idx = MENU_INDEX_SELECT; - else - idx = MENU_INDEX_VISUAL; + if (VIsual_select) + idx = MENU_INDEX_SELECT; + else + idx = MENU_INDEX_VISUAL; } #endif else if (state == HITRETURN || state == ASKMORE) @@ -1727,8 +1727,8 @@ get_menu_mode() #ifdef FEAT_VISUAL if (VIsual_active) { - if (VIsual_select) - return MENU_INDEX_SELECT; + if (VIsual_select) + return MENU_INDEX_SELECT; return MENU_INDEX_VISUAL; } #endif |