]> git.pld-linux.org Git - packages/vim.git/blob - 5.7.016
official patches for vim.
[packages/vim.git] / 5.7.016
1 To: vim-dev@vim.org
2 Subject: Patch 5.7.016
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 ------------
6
7 Patch 5.7.016
8 Problem:    When hitting 'n' for a ":s///c" command, the ignore-case flag was
9             not restored, some matches were skipped. (Daniel Blaustein)
10 Solution:   Restore the reg_ic variable when 'n' was hit.
11 Files:      src/ex_cmds.c
12
13
14 *** ../vim-5.7.15/src/ex_cmds.c Tue Jun 20 15:55:51 2000
15 --- src/ex_cmds.c       Sun Nov 12 13:07:10 2000
16 ***************
17 *** 2988,2994 ****
18       EXARG     *eap;
19   {
20       linenr_t      lnum;
21 !     long          i;
22       char_u       *ptr;
23       char_u       *old_line;
24       vim_regexp           *prog;
25 --- 2988,2994 ----
26       EXARG     *eap;
27   {
28       linenr_t      lnum;
29 !     long          i = 0;
30       char_u       *ptr;
31       char_u       *old_line;
32       vim_regexp           *prog;
33 ***************
34 *** 3312,3318 ****
35                             break;
36                         }
37                         else if (i == 'n')
38 !                           goto skip;
39                         else if (i == 'y')
40                             break;
41                         else if (i == 'a')
42 --- 3312,3318 ----
43                             break;
44                         }
45                         else if (i == 'n')
46 !                           break;
47                         else if (i == 'y')
48                             break;
49                         else if (i == 'a')
50 ***************
51 *** 3330,3336 ****
52   #ifdef USE_MOUSE
53                     setmouse();
54   #endif
55
56                     if (got_quit)
57                         break;
58                 }
59 --- 3330,3337 ----
60   #ifdef USE_MOUSE
61                     setmouse();
62   #endif
63 !                   if (i == 'n')
64 !                       goto skip;
65                     if (got_quit)
66                         break;
67                 }
68 *** ../vim-5.7.15/src/version.c Wed Nov  8 19:44:44 2000
69 --- src/version.c       Sun Nov 12 13:10:10 2000
70 ***************
71 *** 439,440 ****
72 --- 439,442 ----
73   {   /* Add new patch number below this line */
74 + /**/
75 +     16,
76   /**/
77
78 -- 
79 From "know your smileys":
80 :^[/     mean-smiley-with-cigarette
81
82 ///  Bram Moolenaar     Bram@moolenaar.net     http://www.moolenaar.net  \\\
83 \\\  Vim: http://www.vim.org      ICCF Holland: http://iccf-holland.org  ///
This page took 0.051851 seconds and 3 git commands to generate.