Loading ...
Sorry, an error occurred while loading the content.

patch 7.0.190

Expand Messages
  • Bram Moolenaar
    Patch 7.0.190 Problem: syntax spell default results in an error message. Solution: Change 4 to 7 for STRNICMP(). (Raul Nunez de Arenas Coronado) Files:
    Message 1 of 1 , Feb 4 10:23 AM
    • 0 Attachment
      Patch 7.0.190
      Problem: "syntax spell default" results in an error message.
      Solution: Change 4 to 7 for STRNICMP(). (Raul Nunez de Arenas Coronado)
      Files: src/syntax.c


      *** ../vim-7.0.189/src/syntax.c Wed Nov 1 12:43:07 2006
      --- src/syntax.c Sun Jan 21 13:12:19 2007
      ***************
      *** 3206,3212 ****
      curbuf->b_syn_spell = SYNSPL_TOP;
      else if (STRNICMP(arg, "notoplevel", 10) == 0 && next - arg == 10)
      curbuf->b_syn_spell = SYNSPL_NOTOP;
      ! else if (STRNICMP(arg, "default", 4) == 0 && next - arg == 4)
      curbuf->b_syn_spell = SYNSPL_DEFAULT;
      else
      EMSG2(_("E390: Illegal argument: %s"), arg);
      --- 3206,3212 ----
      curbuf->b_syn_spell = SYNSPL_TOP;
      else if (STRNICMP(arg, "notoplevel", 10) == 0 && next - arg == 10)
      curbuf->b_syn_spell = SYNSPL_NOTOP;
      ! else if (STRNICMP(arg, "default", 7) == 0 && next - arg == 7)
      curbuf->b_syn_spell = SYNSPL_DEFAULT;
      else
      EMSG2(_("E390: Illegal argument: %s"), arg);
      *** ../vim-7.0.189/src/version.c Sun Feb 4 02:37:40 2007
      --- src/version.c Sun Feb 4 02:40:23 2007
      ***************
      *** 668,669 ****
      --- 668,671 ----
      { /* Add new patch number below this line */
      + /**/
      + 190,
      /**/

      --
      From "know your smileys":
      :-)-O Smiling doctor with stethoscope

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
    Your message has been successfully submitted and would be delivered to recipients shortly.