Mercurial > vim
view pixmaps/tb_new_session.xpm @ 33806:354e92c641ba v9.0.2119
patch 9.0.2119: remove dead-condition in ex_class
Commit: https://github.com/vim/vim/commit/6b36645f07773d2b27c6662cd80a6567e07f75a0
Author: Christian Brabandt <cb@256bit.org>
Date: Sun Nov 19 18:59:52 2023 +0100
patch 9.0.2119: remove dead-condition in ex_class
Problem: remove dead-condition in ex_class()
Solution: remove the extra condition
The variable is_class must be true once we reach the
,----
| else if (has_static)
`----
in line 1750, because we break out earlier if is_class is false in line
1598 of vim9class.c. And once 'has_static = TRUE', we must be in a
class and there fore is_class is true.
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 21 Nov 2023 20:15:08 +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. ", " ........... "};