4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: "syntax spell default" results in an error message.
12 Solution: Change 4 to 7 for STRNICMP(). (Raul Nunez de Arenas Coronado)
16 *** ../vim-7.0.189/src/syntax.c Wed Nov 1 12:43:07 2006
17 --- src/syntax.c Sun Jan 21 13:12:19 2007
20 curbuf->b_syn_spell = SYNSPL_TOP;
21 else if (STRNICMP(arg, "notoplevel", 10) == 0 && next - arg == 10)
22 curbuf->b_syn_spell = SYNSPL_NOTOP;
23 ! else if (STRNICMP(arg, "default", 4) == 0 && next - arg == 4)
24 curbuf->b_syn_spell = SYNSPL_DEFAULT;
26 EMSG2(_("E390: Illegal argument: %s"), arg);
28 curbuf->b_syn_spell = SYNSPL_TOP;
29 else if (STRNICMP(arg, "notoplevel", 10) == 0 && next - arg == 10)
30 curbuf->b_syn_spell = SYNSPL_NOTOP;
31 ! else if (STRNICMP(arg, "default", 7) == 0 && next - arg == 7)
32 curbuf->b_syn_spell = SYNSPL_DEFAULT;
34 EMSG2(_("E390: Illegal argument: %s"), arg);
35 *** ../vim-7.0.189/src/version.c Sun Feb 4 02:37:40 2007
36 --- src/version.c Sun Feb 4 02:40:23 2007
40 { /* Add new patch number below this line */
46 From "know your smileys":
47 :-)-O Smiling doctor with stethoscope
49 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
50 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51 \\\ download, build and distribute -- http://www.A-A-P.org ///
52 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///