From: Bram Moolenaar Date: Tue, 25 Aug 2015 10:21:32 +0000 (+0200) Subject: patch 7.4.829 X-Git-Tag: v7.4.829 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7fb7d34caf5f45289212987123baac4ce5a0d38c;p=vim patch 7.4.829 Problem: Crash when clicking in beval balloon. (Travis Lebsock) Solution: Use PostMessage() instead of DestroyWindow(). (Raymond Ko, PR 298) --- diff --git a/src/gui_w32.c b/src/gui_w32.c index bf8f12299..463351eea 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -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*/ diff --git a/src/version.c b/src/version.c index dd3449054..5bd31fad4 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 829, /**/ 828, /**/