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.2.160 < prev    next >
Encoding:
Internet Message Format  |  2003-12-28  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.160
  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.2.160
  11. Problem:    When 'virtualedit' is "all" and 'selection is "exclusive",
  12.         selecting a double-width character below a single-width character
  13.         may cause a crash.
  14. Solution:   Avoid overflow on unsigned integer decrement. (Taro Muraoka)
  15. Files:        src/normal.c
  16.  
  17.  
  18. *** ../vim-6.2.159/src/normal.c    Sun Nov  9 20:35:08 2003
  19. --- src/normal.c    Tue Dec 16 10:06:16 2003
  20. ***************
  21. *** 1510,1516 ****
  22.               oap->start_vcol = start;
  23.               if (end > oap->end_vcol)
  24.               {
  25. !             if (*p_sel == 'e' && start - 1 >= oap->end_vcol)
  26.                   oap->end_vcol = start - 1;
  27.               else
  28.                   oap->end_vcol = end;
  29. --- 1510,1517 ----
  30.               oap->start_vcol = start;
  31.               if (end > oap->end_vcol)
  32.               {
  33. !             if (*p_sel == 'e' && start >= 1
  34. !                         && start - 1 >= oap->end_vcol)
  35.                   oap->end_vcol = start - 1;
  36.               else
  37.                   oap->end_vcol = end;
  38. *** ../vim-6.2.159/src/version.c    Mon Dec 29 20:30:12 2003
  39. --- src/version.c    Mon Dec 29 20:32:24 2003
  40. ***************
  41. *** 639,640 ****
  42. --- 639,642 ----
  43.   {   /* Add new patch number below this line */
  44. + /**/
  45. +     160,
  46.   /**/
  47.  
  48. -- 
  49. I AM THANKFUL...
  50. ...for the piles of laundry and ironing because it means I
  51. have plenty of clothes to wear.
  52.  
  53.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  54. ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
  55. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  56.  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
  57.