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.330 < prev    next >
Encoding:
Internet Message Format  |  2004-03-08  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.330 (extra)
  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.330 (extra, after 6.2.267)
  11. Problem:    Win32: Crash when tearing off a menu.
  12. Solution:   Terminate a string with a NUL. (Yasuhiro Matsumoto)
  13. Files:        src/gui_w32.c
  14.  
  15.  
  16. *** ../vim-6.2.329/src/gui_w32.c    Thu Feb 19 15:17:18 2004
  17. --- src/gui_w32.c    Tue Mar  9 10:44:32 2004
  18. ***************
  19. *** 3205,3210 ****
  20. --- 3206,3212 ----
  21.           break;
  22.   
  23.       STRNCPY(text, menu->name, nameLen);
  24. +     text[nameLen] = NUL;
  25.       text = vim_strchr(text, TAB);        /* stop at TAB before actext */
  26.       if (text == NULL)
  27.           text = label + nameLen;        /* no actext, use whole name */
  28. *** ../vim-6.2.329/src/version.c    Mon Mar  8 15:22:09 2004
  29. --- src/version.c    Tue Mar  9 10:46:15 2004
  30. ***************
  31. *** 639,640 ****
  32. --- 639,642 ----
  33.   {   /* Add new patch number below this line */
  34. + /**/
  35. +     330,
  36.   /**/
  37.  
  38. -- 
  39. ARTHUR:    Be quiet!  I order you to shut up.
  40. OLD WOMAN: Order, eh -- who does he think he is?
  41. ARTHUR:    I am your king!
  42. OLD WOMAN: Well, I didn't vote for you.
  43.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  44.  
  45.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  46. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  47. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  48.  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
  49.