mirror of
https://github.com/vim/vim.git
synced 2025-10-07 05:54:16 -04:00
patch 8.2.4911: the mode #defines are not clearly named
Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
This commit is contained in:
@@ -691,7 +691,7 @@ menu_item_select(GtkWidget *widget UNUSED, gpointer data)
|
||||
char_u *tooltip;
|
||||
static int did_msg = FALSE;
|
||||
|
||||
if (State & CMDLINE)
|
||||
if (State & MODE_CMDLINE)
|
||||
return;
|
||||
menu = (vimmenu_T *)data;
|
||||
tooltip = CONVERT_TO_UTF8(menu->strings[MENU_INDEX_TIP]);
|
||||
|
Reference in New Issue
Block a user