]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.100
- new
[packages/vim.git] / 7.0.100
1 To: vim-dev@vim.org
2 Subject: Patch 7.0.100
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 7.0.100
11 Problem:    "zug" may report the wrong filename. (Lawrence Kesteloot)
12 Solution:   Call home_replace() to fill NameBuff[].
13 Files:      src/spell.c
14
15
16 *** ../vim-7.0.099/src/spell.c  Tue Aug 29 17:28:56 2006
17 --- src/spell.c Mon Sep 11 20:45:35 2006
18 ***************
19 *** 1483,1489 ****
20             else if ((mode == FIND_COMPOUND || mode == FIND_KEEPCOMPOUND
21                                                                 || !word_ends))
22             {
23 !               /* If there is no  flag or the word is shorter than
24                  * COMPOUNDMIN reject it quickly.
25                  * Makes you wonder why someone puts a compound flag on a word
26                  * that's too short...  Myspell compatibility requires this
27 --- 1483,1489 ----
28             else if ((mode == FIND_COMPOUND || mode == FIND_KEEPCOMPOUND
29                                                                 || !word_ends))
30             {
31 !               /* If there is no compound flag or the word is shorter than
32                  * COMPOUNDMIN reject it quickly.
33                  * Makes you wonder why someone puts a compound flag on a word
34                  * that's too short...  Myspell compatibility requires this
35 ***************
36 *** 9336,9342 ****
37 --- 9336,9345 ----
38                     {
39                         fputc('#', fd);
40                         if (undo)
41 +                       {
42 +                           home_replace(NULL, fname, NameBuff, MAXPATHL, TRUE);
43                             smsg((char_u *)_("Word removed from %s"), NameBuff);
44 +                       }
45                     }
46                     fseek(fd, fpos_next, SEEK_SET);
47                 }
48 *** ../vim-7.0.099/src/version.c        Sun Sep 10 21:38:48 2006
49 --- src/version.c       Mon Sep 11 21:36:13 2006
50 ***************
51 *** 668,669 ****
52 --- 668,671 ----
53   {   /* Add new patch number below this line */
54 + /**/
55 +     100,
56   /**/
57
58 -- 
59 Be nice to your kids...  they'll be the ones choosing your nursing home.
60
61  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
62 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
63 \\\        download, build and distribute -- http://www.A-A-P.org        ///
64  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.036659 seconds and 3 git commands to generate.