]>
Commit | Line | Data |
---|---|---|
ad28a8ff AG |
1 | To: vim-dev@vim.org |
2 | Subject: patch 7.1.003 (extra) | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.1.003 (extra) | |
11 | Problem: The "Tear off this menu" message appears in the message history | |
12 | when using a menu. (Yongwei Wu) | |
13 | Solution: Disable message history when displaying the menu tip. | |
14 | Files: src/gui_w32.c | |
15 | ||
16 | ||
17 | *** ../vim-7.1.002/src/gui_w32.c Thu May 10 22:17:22 2007 | |
18 | --- src/gui_w32.c Sat Jun 9 13:43:07 2007 | |
19 | *************** | |
20 | *** 1051,1057 **** | |
21 | --- 1051,1059 ---- | |
22 | if (pMenu != NULL && pMenu->strings[MENU_INDEX_TIP] != 0 | |
23 | && GetMenuState(s_menuBar, pMenu->id, MF_BYCOMMAND) != -1) | |
24 | { | |
25 | + ++msg_hist_off; | |
26 | msg(pMenu->strings[MENU_INDEX_TIP]); | |
27 | + --msg_hist_off; | |
28 | setcursor(); | |
29 | out_flush(); | |
30 | did_menu_tip = TRUE; | |
31 | *** ../vim-7.1.002/src/version.c Tue May 15 09:14:33 2007 | |
32 | --- src/version.c Tue Jun 19 10:08:17 2007 | |
33 | *************** | |
34 | *** 668,669 **** | |
35 | --- 668,671 ---- | |
36 | { /* Add new patch number below this line */ | |
37 | + /**/ | |
38 | + 3, | |
39 | /**/ | |
40 | ||
41 | -- | |
42 | In his lifetime van Gogh painted 486 oil paintings. Oddly enough, 8975 | |
43 | of them are to be found in the United States. | |
44 | ||
45 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
46 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
47 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
48 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |