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

Patch 6.2.049

Expand Messages
  • Bram Moolenaar
    Patch 6.2.049 Problem: Using a -range= argument with :command doesn t work and doesn t generate an error message. Solution: Generate an error message.
    Message 1 of 1 , Jul 27, 2003
      Patch 6.2.049
      Problem: Using a "-range=" argument with ":command" doesn't work and
      doesn't generate an error message.
      Solution: Generate an error message.
      Files: src/ex_docmd.c


      *** ../vim-6.2.048/src/ex_docmd.c Sat May 24 19:31:40 2003
      --- src/ex_docmd.c Sat Jul 26 18:36:31 2003
      ***************
      *** 4620,4626 ****
      *def = getdigits(&p);
      *argt |= (ZEROR | NOTADR);

      ! if (p != val + vallen)
      {
      invalid_count:
      EMSG(_("E178: Invalid default value for count"));
      --- 4622,4628 ----
      *def = getdigits(&p);
      *argt |= (ZEROR | NOTADR);

      ! if (p != val + vallen || vallen == 0)
      {
      invalid_count:
      EMSG(_("E178: Invalid default value for count"));
      *** ../vim-6.2.048/src/version.c Sun Jul 27 14:32:03 2003
      --- src/version.c Sun Jul 27 14:34:07 2003
      ***************
      *** 632,633 ****
      --- 632,635 ----
      { /* Add new patch number below this line */
      + /**/
      + 49,
      /**/

      --
      FIRST VILLAGER: We have found a witch. May we burn her?
      "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.