]> git.pld-linux.org Git - packages/vim.git/blob - 6.3.060
- patchlevel 80.
[packages/vim.git] / 6.3.060
1 To: vim-dev@vim.org
2 Subject: Patch 6.3.060
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.060
11 Problem:    Using CTRL-R CTRL-O in Insert mode with an invalid register name
12             still causes something to be inserted.
13 Solution:   Check the register name for being valid.
14 Files:      src/edit.c
15
16
17 *** ../vim-6.3.059/src/edit.c   Wed Jan  5 11:17:36 2005
18 --- src/edit.c  Thu Jan 27 10:33:51 2005
19 ***************
20 *** 5933,5940 ****
21             im_set_active(TRUE);
22   #endif
23       }
24 !     if (regname == NUL)
25         need_redraw = TRUE;     /* remove the '"' */
26       else
27       {
28   #endif
29 --- 5933,5943 ----
30             im_set_active(TRUE);
31   #endif
32       }
33 !     if (regname == NUL || !valid_yank_reg(regname, FALSE))
34 !     {
35 !       vim_beep();
36         need_redraw = TRUE;     /* remove the '"' */
37 +     }
38       else
39       {
40   #endif
41 *** ../vim-6.3.059/src/version.c        Sat Jan 29 16:14:42 2005
42 --- src/version.c       Sat Jan 29 16:18:08 2005
43 ***************
44 *** 643,644 ****
45 --- 643,646 ----
46   {   /* Add new patch number below this line */
47 + /**/
48 +     60,
49   /**/
50
51 -- 
52 Engineers will go without food and hygiene for days to solve a problem.
53 (Other times just because they forgot.)
54                                 (Scott Adams - The Dilbert principle)
55
56  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
57 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
58 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
59  \\\     Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html   ///
This page took 0.031466 seconds and 3 git commands to generate.