]>
Commit | Line | Data |
---|---|---|
0a7814d6 AG |
1 | To: vim-dev@vim.org |
2 | Subject: patch 7.1.097 | |
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.1.097 | |
11 | Problem: ":setlocal stl=%!1+1" does not work. | |
12 | Solution: Adjust check for pointer. (Politz) | |
13 | Files: src/option.c | |
14 | ||
15 | ||
16 | *** ../vim-7.1.096/src/option.c Sun Aug 12 15:50:26 2007 | |
17 | --- src/option.c Wed Sep 5 22:34:27 2007 | |
18 | *************** | |
19 | *** 6348,6354 **** | |
20 | errmsg = check_stl_option(p_ruf); | |
21 | } | |
22 | /* check 'statusline' only if it doesn't start with "%!" */ | |
23 | ! else if (varp != &p_stl || s[0] != '%' || s[1] != '!') | |
24 | errmsg = check_stl_option(s); | |
25 | if (varp == &p_ruf && errmsg == NULL) | |
26 | comp_col(); | |
27 | --- 6352,6358 ---- | |
28 | errmsg = check_stl_option(p_ruf); | |
29 | } | |
30 | /* check 'statusline' only if it doesn't start with "%!" */ | |
31 | ! else if (varp == &p_ruf || s[0] != '%' || s[1] != '!') | |
32 | errmsg = check_stl_option(s); | |
33 | if (varp == &p_ruf && errmsg == NULL) | |
34 | comp_col(); | |
35 | *** ../vim-7.1.096/src/version.c Thu Sep 6 12:53:59 2007 | |
36 | --- src/version.c Thu Sep 6 13:31:37 2007 | |
37 | *************** | |
38 | *** 668,669 **** | |
39 | --- 668,671 ---- | |
40 | { /* Add new patch number below this line */ | |
41 | + /**/ | |
42 | + 97, | |
43 | /**/ | |
44 | ||
45 | -- | |
46 | Not too long ago, cut and paste was done with scissors and glue... | |
47 | ||
48 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
49 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
50 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
51 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |