home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.1.167 < prev    next >
Encoding:
Internet Message Format  |  2002-11-04  |  1.6 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.167
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.1.167
  11. Problem:    When giving a negative argument to ":retab" strange things start
  12.         happening. (Hans Ginzel)
  13. Solution:   Check for a negative value.
  14. Files:        src/ex_cmds.c
  15.  
  16.  
  17. *** ../vim61.166/src/ex_cmds.c    Thu Jul  4 20:55:17 2002
  18. --- src/ex_cmds.c    Fri Aug 30 21:18:31 2002
  19. ***************
  20. *** 293,298 ****
  21. --- 293,303 ----
  22.       curwin->w_p_list = 0;        /* don't want list mode here */
  23.   
  24.       new_ts = getdigits(&(eap->arg));
  25. +     if (new_ts < 0)
  26. +     {
  27. +     EMSG(_(e_positive));
  28. +     return;
  29. +     }
  30.       if (new_ts == 0)
  31.       new_ts = curbuf->b_p_ts;
  32.       for (lnum = eap->line1; !got_int && lnum <= eap->line2; ++lnum)
  33. *** ../vim61.166/src/version.c    Wed Aug 28 22:21:28 2002
  34. --- src/version.c    Fri Aug 30 22:13:26 2002
  35. ***************
  36. *** 608,609 ****
  37. --- 608,611 ----
  38.   {   /* Add new patch number below this line */
  39. + /**/
  40. +     167,
  41.   /**/
  42.  
  43. -- 
  44. GUARD #1:  What, ridden on a horse?
  45. ARTHUR:    Yes!
  46. GUARD #1:  You're using coconuts!
  47. ARTHUR:    What?
  48. GUARD #1:  You've got two empty halves of coconut and you're bangin' 'em
  49.            together.
  50.                                   The Quest for the Holy Grail (Monty Python)
  51.  
  52.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  53. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  54. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  55.  \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
  56.