diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-08-25 12:21:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-08-25 12:21:32 +0200 |
commit | 7fb7d34caf5f45289212987123baac4ce5a0d38c (patch) | |
tree | 7425cf8c1cc4f4684e4025fec5ee838b6dc317cb | |
parent | 670acbc70f371409b46b722bd9a1166e53574f42 (diff) |
patch 7.4.829v7.4.829
Problem: Crash when clicking in beval balloon. (Travis Lebsock)
Solution: Use PostMessage() instead of DestroyWindow(). (Raymond Ko, PR 298)
-rw-r--r-- | src/gui_w32.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index bf8f12299c..463351eea7 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 dd3449054c..5bd31fad45 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 829, +/**/ 828, /**/ 827, |