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.0.146 < prev    next >
Encoding:
Internet Message Format  |  2002-01-21  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.146
  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.0.146
  11. Problem:    When 'statusline' contains "%{'-'}" this results in a zero.
  12.         (Milan Vancura)
  13. Solution:   Don't handle numbers with a minus as a number, they were not
  14.         displayed anyway.
  15. Files:        src/buffer.c
  16.  
  17.  
  18. *** ../vim60.145/src/buffer.c    Thu Jan 17 12:09:06 2002
  19. --- src/buffer.c    Tue Jan 22 14:18:23 2002
  20. ***************
  21. *** 3044,3054 ****
  22.   
  23.           if (str != NULL && *str != 0)
  24.           {
  25. !         t = str;
  26. !         if (*t == '-')
  27. !             t++;
  28. !         t = skipdigits(t);
  29. !         if (*t == 0)
  30.           {
  31.               num = atoi((char *) str);
  32.               vim_free(str);
  33. --- 3044,3050 ----
  34.   
  35.           if (str != NULL && *str != 0)
  36.           {
  37. !         if (*skipdigits(str) == NUL)
  38.           {
  39.               num = atoi((char *) str);
  40.               vim_free(str);
  41. *** ../vim60.145/src/version.c    Tue Jan 22 13:24:04 2002
  42. --- src/version.c    Tue Jan 22 14:20:06 2002
  43. ***************
  44. *** 608,609 ****
  45. --- 608,611 ----
  46.   {   /* Add new patch number below this line */
  47. + /**/
  48. +     146,
  49.   /**/
  50.  
  51. --  
  52. It is hard to understand how a cemetery raised its burial 
  53. cost and blamed it on the cost of living.
  54.  
  55.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  56. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  57.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  58.