]> git.pld-linux.org Git - packages/vim.git/blame - 6.3.014
- license change to GPL
[packages/vim.git] / 6.3.014
CommitLineData
aae1a9d1
AG
1To: vim-dev@vim.org
2Subject: Patch 6.3.014
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 6.3.014
11Problem: When using Chinese or Taiwanese the default for 'helplang' is
12 wrong. (Simon Liang)
13Solution: Use the part of the locale name after "zh_".
14Files: src/option.c
15
16
17*** ../vim-6.3.013/src/option.c Wed Jun 9 14:56:26 2004
18--- src/option.c Tue Jul 20 16:27:03 2004
19***************
20*** 3174,3180 ****
21--- 3174,3188 ----
22 if (p_hlg == NULL)
23 p_hlg = empty_option;
24 else
25+ {
26+ /* zh_CN becomes "cn", zh_TW becomes "tw". */
27+ if (STRNICMP(p_hlg, "zh_", 3) == 0 && STRLEN(p_hlg) >= 5)
28+ {
29+ p_hlg[0] = TOLOWER_ASC(p_hlg[3]);
30+ p_hlg[1] = TOLOWER_ASC(p_hlg[4]);
31+ }
32 p_hlg[2] = NUL;
33+ }
34 options[idx].flags |= P_ALLOCED;
35 }
36 }
37*** ../vim-6.3.013/src/version.c Fri Jul 9 22:21:01 2004
38--- src/version.c Tue Jul 20 17:11:50 2004
39***************
40*** 643,644 ****
41--- 643,646 ----
42 { /* Add new patch number below this line */
43+ /**/
44+ 14,
45 /**/
46
47--
48What a wonderfully exciting cough! Do you mind if I join you?
49 -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
50
51 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
52/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
54 \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
This page took 0.034754 seconds and 4 git commands to generate.