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 / 7.3 / 7.3.1244 < prev    next >
Encoding:
Internet Message Format  |  2013-06-25  |  1.8 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.1244
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.1244
  11. Problem:    MS-Windows: confirm() dialog text may not fit.
  12. Solution:   Use GetTextWidthEnc() instead of GetTextWidth(). (Yasuhiro
  13.         Matsumoto)
  14. Files:        src/gui_w32.c
  15.  
  16.  
  17. *** ../vim-7.3.1243/src/gui_w32.c    2013-05-06 04:21:35.000000000 +0200
  18. --- src/gui_w32.c    2013-06-26 12:55:32.000000000 +0200
  19. ***************
  20. *** 3216,3222 ****
  21.           if (l == 1 && vim_iswhite(*pend)
  22.                       && textWidth > maxDialogWidth * 3 / 4)
  23.           last_white = pend;
  24. !         textWidth += GetTextWidth(hdc, pend, l);
  25.           if (textWidth >= maxDialogWidth)
  26.           {
  27.           /* Line will wrap. */
  28. --- 3216,3222 ----
  29.           if (l == 1 && vim_iswhite(*pend)
  30.                       && textWidth > maxDialogWidth * 3 / 4)
  31.           last_white = pend;
  32. !         textWidth += GetTextWidthEnc(hdc, pend, l);
  33.           if (textWidth >= maxDialogWidth)
  34.           {
  35.           /* Line will wrap. */
  36. *** ../vim-7.3.1243/src/version.c    2013-06-26 12:42:38.000000000 +0200
  37. --- src/version.c    2013-06-26 12:56:47.000000000 +0200
  38. ***************
  39. *** 730,731 ****
  40. --- 730,733 ----
  41.   {   /* Add new patch number below this line */
  42. + /**/
  43. +     1244,
  44.   /**/
  45.  
  46. -- 
  47. The psychic said, "God bless you."  I said, "I didn't sneeze."  She
  48. looked deep into my eyes and said, "You will, eventually."  And, damn
  49. if she wasn't right.  Two days later, I sneezed.  --Ellen Degeneres
  50.  
  51.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  52. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  53. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  54.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  55.