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.144 < prev    next >
Encoding:
Internet Message Format  |  2002-08-02  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.144
  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.144
  11. Problem:    Obtaining the size of a line in screen characters can be wrong.
  12.         A pointer may wrap around zero.
  13. Solution:   In win_linetabsize() check for a MAXCOL length argument. (Jim
  14.         Dunleavy)
  15. Files:        src/charset.c
  16.  
  17.  
  18. *** ../vim61.143/src/charset.c    Thu Mar 14 20:35:56 2002
  19. --- src/charset.c    Tue Jul 30 19:28:32 2002
  20. ***************
  21. *** 747,753 ****
  22.       colnr_T    col = 0;
  23.       char_u    *s;
  24.   
  25. !     for (s = p; *s != NUL && s < p + len; )
  26.       {
  27.       col += win_lbr_chartabsize(wp, s, col, NULL);
  28.   #ifdef FEAT_MBYTE
  29. --- 747,753 ----
  30.       colnr_T    col = 0;
  31.       char_u    *s;
  32.   
  33. !     for (s = p; *s != NUL && (len == MAXCOL || s < p + len); )
  34.       {
  35.       col += win_lbr_chartabsize(wp, s, col, NULL);
  36.   #ifdef FEAT_MBYTE
  37. *** ../vim61.143/src/version.c    Thu Aug  1 20:47:28 2002
  38. --- src/version.c    Sat Aug  3 14:03:43 2002
  39. ***************
  40. *** 608,609 ****
  41. --- 608,611 ----
  42.   {   /* Add new patch number below this line */
  43. + /**/
  44. +     144,
  45.   /**/
  46.  
  47. -- 
  48. From "know your smileys":
  49.  :-D    Big smile
  50.  
  51.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  52. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  53. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  54.  \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
  55.