view pixmaps/tb_new_session.xpm @ 34405:5337abbdf88e v9.1.0127

patch 9.1.0127: Naming a non-pointer variable "oap" is strange Commit: https://github.com/vim/vim/commit/5e3674b42da10b7e7c72d1f20f9a15379af1b60a Author: zeertzjq <zeertzjq@outlook.com> Date: Thu Feb 22 19:51:34 2024 +0100 patch 9.1.0127: Naming a non-pointer variable "oap" is strange Problem: Naming a non-pointer variable "oap" is strange. Solution: Rename it to "oa". Also prevent using freed memory in case of memory allocation failure. (zeertzjq) closes: #14075 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 22 Feb 2024 20:00:07 +0100
parents 3fc0f57ecb91
children
line wrap: on
line source

/* XPM */
static char * tb_new_session_xpm[] = {
/* width height ncolors cpp [x_hot y_hot] */
"18 18 8 1 0 0",
/* colors */
" 	s none	m none	c none",
".	s bottomShadowColor	m black	c #5D6069",
"X	s iconColor2	m none	c #FFFFFF",
"o	s iconColor1	m black	c #000000",
"O	s iconGray2	m none	c #bdbdbd",
"+	s iconGray5	m black	c #737373",
"@	s iconGray4	m none	c #949494",
"#	s iconColor3	m black	c #FF0000",
/* pixels */
"    .  .X.  .     ",
"     . oXo .      ",
"    ..oXXXo..     ",
"    XXXXXXXXX     ",
"    ..oXXXo..     ",
"     . oXo .      ",
"    .  .X.  .     ",
"        .         ",
"   ooooooooooooo  ",
"  oXXXXXXXXXXOO+o ",
" oXXXXXXXXXXXX@+o ",
" oXOOOOOOOOO##@+o ",
" oXOOOOOOOOOOO@+o ",
" oXooooooooooO@+o.",
" oXXXXXXXXXXXO@+o.",
" oO@@@@@@@@@@@+o. ",
"  ooooooooooooo.  ",
"    ...........   "};