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.406 < prev    next >
Encoding:
Internet Message Format  |  2003-03-14  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.406
  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.406 (depends on 6.1.392)
  11. Problem:    When a statusline item doesn't fit arbitrary text appears.
  12.         (Christian J. Robinson)
  13. Solution:   When there is just enough room but not for the "<" truncate the
  14.         statusline item like there is no room.
  15. Files:        src/buffer.c
  16.  
  17.  
  18. *** ../vim61.405/src/buffer.c    Fri Mar 14 22:54:15 2003
  19. --- src/buffer.c    Sat Mar 15 21:57:51 2003
  20. ***************
  21. *** 3490,3496 ****
  22.           }
  23.       }
  24.   
  25. !     if (width - vim_strsize(s) > maxwidth)
  26.       {
  27.           /* Truncation mark is beyond max length */
  28.   #ifdef FEAT_MBYTE
  29. --- 3490,3496 ----
  30.           }
  31.       }
  32.   
  33. !     if (width - vim_strsize(s) >= maxwidth)
  34.       {
  35.           /* Truncation mark is beyond max length */
  36.   #ifdef FEAT_MBYTE
  37. *** ../vim61.405/src/version.c    Sat Mar 15 21:09:58 2003
  38. --- src/version.c    Sat Mar 15 22:02:20 2003
  39. ***************
  40. *** 613,614 ****
  41. --- 613,616 ----
  42.   {   /* Add new patch number below this line */
  43. + /**/
  44. +     406,
  45.   /**/
  46.  
  47. -- 
  48. From "know your smileys":
  49.  :q    vi user saying, "How do I get out of this damn emacs editor?"
  50.  
  51.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  52. ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
  53. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  54.  \\\     Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
  55.