From c9b4b05b3544b434730eb218e848a1a441d5ffb2 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 30 Apr 2006 18:54:39 +0000 Subject: updated for version 7.0g --- src/menu.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/menu.c') 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 -- cgit v1.2.1