| To: vim-dev@vim.org |
| Subject: patch 7.1.003 (extra) |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.1.003 (extra) |
| Problem: The "Tear off this menu" message appears in the message history |
| when using a menu. (Yongwei Wu) |
| Solution: Disable message history when displaying the menu tip. |
| Files: src/gui_w32.c |
| |
| |
| |
| |
| |
| *** 1051,1057 **** |
| --- 1051,1059 ---- |
| if (pMenu != NULL && pMenu->strings[MENU_INDEX_TIP] != 0 |
| && GetMenuState(s_menuBar, pMenu->id, MF_BYCOMMAND) != -1) |
| { |
| + ++msg_hist_off; |
| msg(pMenu->strings[MENU_INDEX_TIP]); |
| + --msg_hist_off; |
| setcursor(); |
| out_flush(); |
| did_menu_tip = TRUE; |
| |
| |
| |
| *** 668,669 **** |
| --- 668,671 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 3, |
| /**/ |
| |
| -- |
| In his lifetime van Gogh painted 486 oil paintings. Oddly enough, 8975 |
| of them are to be found in the United States. |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ download, build and distribute -- http://www.A-A-P.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |