0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.829

Problem:    Crash when clicking in beval balloon. (Travis Lebsock)
Solution:   Use PostMessage() instead of DestroyWindow(). (Raymond Ko, PR 298)
This commit is contained in:
Bram Moolenaar
2015-08-25 12:21:32 +02:00
parent 670acbc70f
commit 7fb7d34caf
2 changed files with 4 additions and 1 deletions

View 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*/