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

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.170
  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.170
  11. Problem:    When printing double-width characters the size of tabs after them
  12.         is wrong.  (Muraoka Taro)
  13. Solution:   Correctly compute the column after a double-width character.
  14. Files:        src/ex_cmds2.c
  15.  
  16.  
  17. *** ../vim60.169/src/ex_cmds2.c    Sun Feb  3 15:27:26 2002
  18. --- src/ex_cmds2.c    Sun Feb  3 13:44:58 2002
  19. ***************
  20. *** 3136,3142 ****
  21.       else
  22.       {
  23.           need_break = mch_print_text_out(line + col, outputlen);
  24. !         print_pos++;
  25.       }
  26.       }
  27.   
  28. --- 3136,3147 ----
  29.       else
  30.       {
  31.           need_break = mch_print_text_out(line + col, outputlen);
  32. ! #ifdef FEAT_MBYTE
  33. !         if (has_mbyte)
  34. !         print_pos += (*mb_ptr2cells)(line + col);
  35. !         else
  36. ! #endif
  37. !         print_pos++;
  38.       }
  39.       }
  40.   
  41. *** ../vim60.169/src/version.c    Sun Feb  3 19:27:27 2002
  42. --- src/version.c    Mon Feb  4 09:43:37 2002
  43. ***************
  44. *** 608,609 ****
  45. --- 608,611 ----
  46.   {   /* Add new patch number below this line */
  47. + /**/
  48. +     170,
  49.   /**/
  50.  
  51. -- 
  52. hundred-and-one symptoms of being an internet addict:
  53. 175. You send yourself e-mail before you go to bed to remind you
  54.      what to do when you wake up.
  55.  
  56.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  57. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  58.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  59.