Mercurial > vim
view src/proto/gui_beval.pro @ 13990:017c5462ed5e v8.1.0013
patch 8.1.0013: using freed memory when changing terminal cursor color
commit https://github.com/vim/vim/commit/4f7fd56b423245786f223a370c6fbfc12e3f37eb
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 21 14:55:28 2018 +0200
patch 8.1.0013: using freed memory when changing terminal cursor color
Problem: Using freed memory when changing terminal cursor color.
Solution: Make a copy of the color. (Dominique Pelle, closes https://github.com/vim/vim/issues/2938,
closes #2941)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 21 May 2018 15:00:07 +0200 |
parents | 1a450ce6980c |
children |
line wrap: on
line source
/* gui_beval.c */ BalloonEval *gui_mch_create_beval_area(void *target, char_u *mesg, void (*mesgCB)(BalloonEval *, int), void *clientData); void gui_mch_destroy_beval_area(BalloonEval *beval); void gui_mch_enable_beval_area(BalloonEval *beval); void gui_mch_disable_beval_area(BalloonEval *beval); BalloonEval *gui_mch_currently_showing_beval(void); void gui_mch_post_balloon(BalloonEval *beval, char_u *mesg); void gui_mch_unpost_balloon(BalloonEval *beval); /* vim: set ft=c : */