4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: ":setlocal stl=%!1+1" does not work.
12 Solution: Adjust check for pointer. (Politz)
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
20 errmsg = check_stl_option(p_ruf);
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)
28 errmsg = check_stl_option(p_ruf);
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)
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
40 { /* Add new patch number below this line */
46 Not too long ago, cut and paste was done with scissors and glue...
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 ///