commit | 249591057b4840785c50e41dd850efb8a8faf435 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat May 07 20:01:16 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat May 07 20:01:16 2022 +0100 |
tree | e9ba171529cf753e7aab0ec9adf5be3fedc17d00 | |
parent | 9ff7d717aa3176de5c61de340deb93f41c7780fc [diff] [blame] |
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.
diff --git a/src/gui_gtk.c b/src/gui_gtk.c index 0b98fd4..1ae15ca 100644 --- a/src/gui_gtk.c +++ b/src/gui_gtk.c
@@ -691,7 +691,7 @@ 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]);