2 Subject: Patch 6.2.022 (extra)
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Win32: After deleting a menu item it still appears in a tear-off
13 Solution: Set the mode to zero for the deleted item. (Yasuhiro Matsumoto)
17 *** ../vim-6.2.021/src/gui_w32.c Sun Jun 1 13:37:05 2003
18 --- src/gui_w32.c Sun Jun 22 17:13:50 2003
22 if (menu->parent != NULL
23 && menu->parent->children != NULL
24 && IsWindow(menu->parent->tearoff_handle))
26 + /* This menu must not show up when rebuilding the tearoff window. */
28 rebuild_tearoff(menu->parent);
37 for ( ; menu != NULL; menu = menu->next)
39 + if (menu->modes == 0) /* this menu has just been deleted */
41 if (menu_is_separator(menu->dname))
44 *** ../vim-6.2.021/src/version.c Sat Jul 5 19:20:12 2003
45 --- src/version.c Thu Jul 24 20:58:43 2003
49 { /* Add new patch number below this line */
55 I am always surprised in the Linux world how quickly solutions can be
56 obtained. (Imagine sending an email to Bill Gates, asking why Windows
57 crashed, and how to fix it... and then getting an answer that fixed the
58 problem... <0>_<0> !) -- Mark Langdon
60 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
61 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
62 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
63 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///