]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.070
- new
[packages/vim.git] / 7.1.070
CommitLineData
0a7814d6
AG
1To: vim-dev@vim.org
2Subject: patch 7.1.070 (extra)
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.1.070 (extra)
11Problem: Win32 GUI: When using confirm() without a default button there
12 still is a default choice.
13Solution: Set focus on something else than a button. (Chris Lubinski)
14Files: src/gui_w32.c
15
16
17*** ../vim-7.1.069/src/gui_w32.c Tue Jun 19 10:09:15 2007
18--- src/gui_w32.c Sat Aug 11 17:39:50 2007
19***************
20*** 2894,2899 ****
21--- 2894,2903 ----
22 (void)SetFocus(hwnd);
23 if (dialog_default_button > IDCANCEL)
24 (void)SetFocus(GetDlgItem(hwnd, dialog_default_button));
25+ else
26+ /* We don't have a default, set focus on another element of the
27+ * dialog window, probably the icon */
28+ (void)SetFocus(GetDlgItem(hwnd, DLG_NONBUTTON_CONTROL));
29 return FALSE;
30 }
31
32*** ../vim-7.1.069/src/version.c Tue Aug 14 14:59:41 2007
33--- src/version.c Tue Aug 14 16:55:41 2007
34***************
35*** 668,669 ****
36--- 668,671 ----
37 { /* Add new patch number below this line */
38+ /**/
39+ 70,
40 /**/
41
42--
43You are not really successful until someone claims he sat
44beside you in school.
45
46 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
47/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
48\\\ download, build and distribute -- http://www.A-A-P.org ///
49 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.033064 seconds and 4 git commands to generate.