view pixmaps/tb_maxwidth.xpm @ 30487:79e2d9b7780c v9.0.0579

patch 9.0.0579: using freed memory when 'tagfunc' wipes out buffer Commit: https://github.com/vim/vim/commit/0ff01835a40f549c5c4a550502f62a2ac9ac447c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 24 19:20:30 2022 +0100 patch 9.0.0579: using freed memory when 'tagfunc' wipes out buffer Problem: Using freed memory when 'tagfunc' wipes out buffer that holds 'complete'. Solution: Make a copy of the option. Make sure cursor position is valid.
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Sep 2022 20:30:03 +0200
parents 3fc0f57ecb91
children
line wrap: on
line source

/* XPM */
static char * tb_maxwidth_xpm[] = {
/* width height ncolors cpp [x_hot y_hot] */
"18 18 5 1 0 0",
/* colors */
" 	s none	m none	c none",
".	s topShadowColor	m none	c #DCDEE5",
"X	s iconColor1	m black	c #000000",
"o	s iconColor2	m none	c #FFFFFF",
"O	s bottomShadowColor	m black	c #5D6069",
/* pixels */
"                  ",
"                  ",
"                  ",
"                  ",
".XXXXXXXXXXXXXXXX ",
".X.............oX ",
".X..X........X.oXO",
".X.XX........XXoXO",
".XXXX........XXXXO",
".X.XX........XXoXO",
".X..X........X.oXO",
".XooooooooooooooXO",
".XXXXXXXXXXXXXXXXO",
"   OOOOOOOOOOOOOOO",
"                  ",
"                  ",
"                  ",
"                  "};