Mercurial > vim
view pixmaps/tb_new.xpm @ 24430:fe71212fd202 v8.2.2755
patch 8.2.2755: Vim9: no error for using a number in a condition
Commit: https://github.com/vim/vim/commit/af8ea0d066d31cf3cd0a39c5c49ce0342728588d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 11 18:24:46 2021 +0200
patch 8.2.2755: Vim9: no error for using a number in a condition
Problem: Vim9: no error for using a number in a condition.
Solution: Also use ISN_COND2BOOL if the type is t_number_bool.
(closes #7644)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 11 Apr 2021 18:30:05 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_new_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 5 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 topShadowColor m none c #DCDEE5", /* pixels */ " . .X. ", " X. .X. X.", " ooooooo.X.oXoX.X", " oOOOOOOOoXXXXo..", " oOOOOOOOXXXXXXXX", " oOOXOOOOoXoXXo..", " oOXXOOO.OXoXoX ", " oOOOOO.OOXoX..X ", " oOOOOOOOOXoX. .X", " oOOOOOOOOXo. .", " oOOOOOOOOXo. ", " oOOOOOOOOXo. ", " oOOOOOOOOXo. ", " oOOOOOOOOXo. ", " oOOOOOOOOXo. ", " oXXXXXXXXXo. ", " ooooooooooo. ", " .......... "};