mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -177,7 +177,7 @@ void ex_menu(exarg_T *eap)
|
||||
// Change sensitivity of the menu.
|
||||
// For the PopUp menu, remove a menu for each mode separately.
|
||||
// Careful: menu_enable_recurse() changes menu_path.
|
||||
if (STRCMP(menu_path, "*") == 0) { // meaning: do all menus
|
||||
if (strcmp(menu_path, "*") == 0) { // meaning: do all menus
|
||||
menu_path = "";
|
||||
}
|
||||
|
||||
@@ -193,7 +193,7 @@ void ex_menu(exarg_T *eap)
|
||||
menu_enable_recurse(*root_menu_ptr, menu_path, modes, enable);
|
||||
} else if (unmenu) {
|
||||
// Delete menu(s).
|
||||
if (STRCMP(menu_path, "*") == 0) { // meaning: remove all menus
|
||||
if (strcmp(menu_path, "*") == 0) { // meaning: remove all menus
|
||||
menu_path = "";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user