Mercurial > vim
view src/proto/farsi.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 | 9b048dced116 |
children |
line wrap: on
line source
/* farsi.c */ int fkmap(int c); char_u *lrswap(char_u *ibuf); char_u *lrFswap(char_u *cmdbuf, int len); char_u *lrF_sub(char_u *ibuf); int cmdl_fkmap(int c); int F_isalpha(int c); int F_isdigit(int c); int F_ischar(int c); void farsi_f8(cmdarg_T *cap); void farsi_f9(cmdarg_T *cap); /* vim: set ft=c : */