Mercurial > vim
view pixmaps/tb_blank.xpm @ 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 | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_blank_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 4 1 0 0", /* colors */ " s iconColor1 m black c #000000", ". s none m none c none", "X s topShadowColor m none c #DCDEE5", "o s bottomShadowColor m black c #5D6069", /* pixels */ " .", " XXXXXXXXXXXXXXX .", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " X.............. o", " o", "..oooooooooooooooo"};