]> granicus.if.org Git - vim/commitdiff
patch 7.4.829 v7.4.829
authorBram Moolenaar <Bram@vim.org>
Tue, 25 Aug 2015 10:21:32 +0000 (12:21 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 25 Aug 2015 10:21:32 +0000 (12:21 +0200)
Problem:    Crash when clicking in beval balloon. (Travis Lebsock)
Solution:   Use PostMessage() instead of DestroyWindow(). (Raymond Ko, PR 298)

src/gui_w32.c
src/version.c

index bf8f12299cb4e9d84d0eca4a0e278bf5916f6059..463351eea75abacc45ea9a7746050779ce6b5c4a 100644 (file)
@@ -4836,7 +4836,8 @@ make_tooltip(beval, text, pt)
 delete_tooltip(beval)
     BalloonEval        *beval;
 {
-    DestroyWindow(beval->balloon);
+    PostMessage(beval->balloon, WM_DESTROY, 0, 0);
+    PostMessage(beval->balloon, WM_NCDESTROY, 0, 0);
 }
 
 /*ARGSUSED*/
index dd3449054c23ff6194f8cb1ac8efb762ed0e380b..5bd31fad4549cee95b06e789ebfdeed0e380b487 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    829,
 /**/
     828,
 /**/