]> git.pld-linux.org Git - packages/vim.git/blob - 5.7.019
official patches for vim.
[packages/vim.git] / 5.7.019
1 To: vim-dev@vim.org
2 Subject: Patch 5.7.019
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 ------------
6
7 Patch 5.7.019
8 Problem:    Multibyte: In a substitute string, a multi-byte character isn't
9             skipped properly, can be a problem when the second byte is a
10             backslash.
11 Solution:   Skip an extra byte for a double-byte character. (Muraoka Taro)
12 Files:      src/ex_cmds.c
13
14
15 *** ../vim-5.7.18/src/ex_cmds.c Thu Nov 16 15:15:49 2000
16 --- src/ex_cmds.c       Tue Nov 28 22:27:29 2000
17 ***************
18 *** 3083,3088 ****
19 --- 3083,3093 ----
20                     cmd[0] = Ctrl('V');
21                 ++cmd;
22             }
23 + #ifdef MULTI_BYTE
24 +           /* skip an extra byte for a double-byte character */
25 +           if (is_dbcs && cmd[1] != NUL && IsLeadByte(cmd[0]))
26 +               ++cmd;
27 + #endif
28             ++cmd;
29         }
30   
31 *** ../vim-5.7.18/src/version.c Tue Nov 28 22:50:07 2000
32 --- src/version.c       Tue Nov 28 22:49:21 2000
33 ***************
34 *** 439,440 ****
35 --- 439,442 ----
36   {   /* Add new patch number below this line */
37 + /**/
38 +     19,
39   /**/
40
41 -- 
42 Apologies for taking up the bandwidth with the apology.  Anything else I
43 can apologise for ...... er no can't think of anything, sorry about that. 
44                 Andy Hunt (Member of British Olympic Apology Squad)
45
46 ///  Bram Moolenaar     Bram@moolenaar.net     http://www.moolenaar.net  \\\
47 \\\  Vim: http://www.vim.org      ICCF Holland: http://iccf-holland.org  ///
This page took 0.470441 seconds and 3 git commands to generate.