]>
Commit | Line | Data |
---|---|---|
0611be5f ER |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.104 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Problem: Conceal: using Tab for cchar causes problems. (ZyX) | |
11 | Solution: Do not accept a control character for cchar. | |
12 | Files: src/syntax.c | |
13 | ||
14 | ||
15 | *** ../vim-7.3.103/src/syntax.c 2010-09-29 18:32:47.000000000 +0200 | |
16 | --- src/syntax.c 2011-01-22 00:50:20.000000000 +0100 | |
17 | *************** | |
18 | *** 4537,4542 **** | |
19 | --- 4537,4549 ---- | |
20 | ; | |
21 | #endif | |
22 | } | |
23 | + #ifdef FEAT_CONCEAL | |
24 | + if (!vim_isprintc_strict(*conceal_char)) | |
25 | + { | |
26 | + EMSG(_("E844: invalid cchar value")); | |
27 | + return NULL; | |
28 | + } | |
29 | + #endif | |
30 | arg = skipwhite(arg + 7); | |
31 | } | |
32 | else | |
33 | *** ../vim-7.3.103/src/version.c 2011-01-22 00:11:42.000000000 +0100 | |
34 | --- src/version.c 2011-01-22 00:54:56.000000000 +0100 | |
35 | *************** | |
36 | *** 716,717 **** | |
37 | --- 716,719 ---- | |
38 | { /* Add new patch number below this line */ | |
39 | + /**/ | |
40 | + 104, | |
41 | /**/ | |
42 | ||
43 | -- | |
44 | hundred-and-one symptoms of being an internet addict: | |
45 | 132. You come back and check this list every half-hour. | |
46 | ||
47 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
48 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
49 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
50 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |