]> git.pld-linux.org Git - packages/vim.git/blob - 6.3.003
- added __autoheader
[packages/vim.git] / 6.3.003
1 To: vim-dev@vim.org
2 Subject: Patch 6.3.003
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 6.3.003
11 Problem:    Crash when using a console dialog and the first choice does not
12             have a default button. (Darin Ohashi)
13 Solution:   Allocate two more characters for the [] around the character for
14             the default choice.
15 Files:      src/message.c
16
17
18 *** ../vim-6.3.002/src/message.c        Wed Jun  9 14:56:25 2004
19 --- src/message.c       Fri Jun 11 20:14:02 2004
20 ***************
21 *** 2918,2923 ****
22 --- 2918,2930 ----
23                     + 3;                /* for the ": " and NUL */
24             lenhotkey++;                /* for the NUL */
25   
26 +           /* If no hotkey is specified first char is used. */
27 +           if (!has_hotkey[0])
28 +           {
29 +               first_hotkey = TRUE;
30 +               len += 2;               /* "x" -> "[x]" */
31 +           }
32
33             /*
34              * Now allocate and load the strings
35              */
36 ***************
37 *** 2938,2947 ****
38   
39             /* define first default hotkey */
40             (void)copy_char(buttons, hotkp, TRUE);
41
42 -           /* If no hotkey is specified first char is used. */
43 -           if (!has_hotkey[0])
44 -               first_hotkey = TRUE;
45   
46             /* Remember where the choices start, displaying starts here when
47              * "hotkp" typed at the more prompt. */
48 --- 2945,2950 ----
49 *** ../vim-6.3.002/src/version.c        Thu Jun 10 21:08:20 2004
50 --- src/version.c       Fri Jun 11 20:17:37 2004
51 ***************
52 *** 643,644 ****
53 --- 643,646 ----
54   {   /* Add new patch number below this line */
55 + /**/
56 +     3,
57   /**/
58
59 -- 
60 From "know your smileys":
61  :.-(   Crying
62
63  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
64 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
65 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
66  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
This page took 0.025065 seconds and 3 git commands to generate.