|
Karsten Hopp |
3ca42e |
To: vim-dev@vim.org
|
|
Karsten Hopp |
3ca42e |
Subject: patch 7.0.190
|
|
Karsten Hopp |
3ca42e |
Fcc: outbox
|
|
Karsten Hopp |
3ca42e |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
3ca42e |
Mime-Version: 1.0
|
|
Karsten Hopp |
3ca42e |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
3ca42e |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
3ca42e |
------------
|
|
Karsten Hopp |
3ca42e |
|
|
Karsten Hopp |
3ca42e |
Patch 7.0.190
|
|
Karsten Hopp |
3ca42e |
Problem: "syntax spell default" results in an error message.
|
|
Karsten Hopp |
3ca42e |
Solution: Change 4 to 7 for STRNICMP(). (Raul Nunez de Arenas Coronado)
|
|
Karsten Hopp |
3ca42e |
Files: src/syntax.c
|
|
Karsten Hopp |
3ca42e |
|
|
Karsten Hopp |
3ca42e |
|
|
Karsten Hopp |
3ca42e |
*** ../vim-7.0.189/src/syntax.c Wed Nov 1 12:43:07 2006
|
|
Karsten Hopp |
3ca42e |
--- src/syntax.c Sun Jan 21 13:12:19 2007
|
|
Karsten Hopp |
3ca42e |
***************
|
|
Karsten Hopp |
3ca42e |
*** 3206,3212 ****
|
|
Karsten Hopp |
3ca42e |
curbuf->b_syn_spell = SYNSPL_TOP;
|
|
Karsten Hopp |
3ca42e |
else if (STRNICMP(arg, "notoplevel", 10) == 0 && next - arg == 10)
|
|
Karsten Hopp |
3ca42e |
curbuf->b_syn_spell = SYNSPL_NOTOP;
|
|
Karsten Hopp |
3ca42e |
! else if (STRNICMP(arg, "default", 4) == 0 && next - arg == 4)
|
|
Karsten Hopp |
3ca42e |
curbuf->b_syn_spell = SYNSPL_DEFAULT;
|
|
Karsten Hopp |
3ca42e |
else
|
|
Karsten Hopp |
3ca42e |
EMSG2(_("E390: Illegal argument: %s"), arg);
|
|
Karsten Hopp |
3ca42e |
--- 3206,3212 ----
|
|
Karsten Hopp |
3ca42e |
curbuf->b_syn_spell = SYNSPL_TOP;
|
|
Karsten Hopp |
3ca42e |
else if (STRNICMP(arg, "notoplevel", 10) == 0 && next - arg == 10)
|
|
Karsten Hopp |
3ca42e |
curbuf->b_syn_spell = SYNSPL_NOTOP;
|
|
Karsten Hopp |
3ca42e |
! else if (STRNICMP(arg, "default", 7) == 0 && next - arg == 7)
|
|
Karsten Hopp |
3ca42e |
curbuf->b_syn_spell = SYNSPL_DEFAULT;
|
|
Karsten Hopp |
3ca42e |
else
|
|
Karsten Hopp |
3ca42e |
EMSG2(_("E390: Illegal argument: %s"), arg);
|
|
Karsten Hopp |
3ca42e |
*** ../vim-7.0.189/src/version.c Sun Feb 4 02:37:40 2007
|
|
Karsten Hopp |
3ca42e |
--- src/version.c Sun Feb 4 02:40:23 2007
|
|
Karsten Hopp |
3ca42e |
***************
|
|
Karsten Hopp |
3ca42e |
*** 668,669 ****
|
|
Karsten Hopp |
3ca42e |
--- 668,671 ----
|
|
Karsten Hopp |
3ca42e |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
3ca42e |
+ /**/
|
|
Karsten Hopp |
3ca42e |
+ 190,
|
|
Karsten Hopp |
3ca42e |
/**/
|
|
Karsten Hopp |
3ca42e |
|
|
Karsten Hopp |
3ca42e |
--
|
|
Karsten Hopp |
3ca42e |
From "know your smileys":
|
|
Karsten Hopp |
3ca42e |
:-)-O Smiling doctor with stethoscope
|
|
Karsten Hopp |
3ca42e |
|
|
Karsten Hopp |
3ca42e |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
3ca42e |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
3ca42e |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
3ca42e |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|