Karsten Hopp 5f0dae
To: vim_dev@googlegroups.com
Karsten Hopp 5f0dae
Subject: Patch 7.4.829
Karsten Hopp 5f0dae
Fcc: outbox
Karsten Hopp 5f0dae
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 5f0dae
Mime-Version: 1.0
Karsten Hopp 5f0dae
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 5f0dae
Content-Transfer-Encoding: 8bit
Karsten Hopp 5f0dae
------------
Karsten Hopp 5f0dae
Karsten Hopp 5f0dae
Patch 7.4.829
Karsten Hopp 5f0dae
Problem:    Crash when clicking in beval balloon. (Travis Lebsock)
Karsten Hopp 5f0dae
Solution:   Use PostMessage() instead of DestroyWindow(). (Raymond Ko, PR 298)
Karsten Hopp 5f0dae
Files:      src/gui_w32.c
Karsten Hopp 5f0dae
Karsten Hopp 5f0dae
Karsten Hopp 5f0dae
*** ../vim-7.4.828/src/gui_w32.c	2015-08-11 19:13:55.138175689 +0200
Karsten Hopp 5f0dae
--- src/gui_w32.c	2015-08-25 12:20:08.668726500 +0200
Karsten Hopp 5f0dae
***************
Karsten Hopp 5f0dae
*** 4836,4842 ****
Karsten Hopp 5f0dae
  delete_tooltip(beval)
Karsten Hopp 5f0dae
      BalloonEval	*beval;
Karsten Hopp 5f0dae
  {
Karsten Hopp 5f0dae
!     DestroyWindow(beval->balloon);
Karsten Hopp 5f0dae
  }
Karsten Hopp 5f0dae
  
Karsten Hopp 5f0dae
  /*ARGSUSED*/
Karsten Hopp 5f0dae
--- 4836,4843 ----
Karsten Hopp 5f0dae
  delete_tooltip(beval)
Karsten Hopp 5f0dae
      BalloonEval	*beval;
Karsten Hopp 5f0dae
  {
Karsten Hopp 5f0dae
!     PostMessage(beval->balloon, WM_DESTROY, 0, 0);
Karsten Hopp 5f0dae
!     PostMessage(beval->balloon, WM_NCDESTROY, 0, 0);
Karsten Hopp 5f0dae
  }
Karsten Hopp 5f0dae
  
Karsten Hopp 5f0dae
  /*ARGSUSED*/
Karsten Hopp 5f0dae
*** ../vim-7.4.828/src/version.c	2015-08-25 11:57:45.026505650 +0200
Karsten Hopp 5f0dae
--- src/version.c	2015-08-25 12:18:39.021646821 +0200
Karsten Hopp 5f0dae
***************
Karsten Hopp 5f0dae
*** 743,744 ****
Karsten Hopp 5f0dae
--- 743,746 ----
Karsten Hopp 5f0dae
  {   /* Add new patch number below this line */
Karsten Hopp 5f0dae
+ /**/
Karsten Hopp 5f0dae
+     829,
Karsten Hopp 5f0dae
  /**/
Karsten Hopp 5f0dae
Karsten Hopp 5f0dae
-- 
Karsten Hopp 5f0dae
BEDEVERE: How do you know so much about swallows?
Karsten Hopp 5f0dae
ARTHUR:   Well you have to know these things when you're a king, you know.
Karsten Hopp 5f0dae
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 5f0dae
Karsten Hopp 5f0dae
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 5f0dae
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 5f0dae
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 5f0dae
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///