Mercurial > vim
view pixmaps/generic.xpm @ 13702:c3bf339a9d2d v8.0.1723
patch 8.0.1723: using one item array size declaration is misleading
commit https://github.com/vim/vim/commit/f3a411783c9736645d6ba480c5ff9d861164c040
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 16 14:45:45 2018 +0200
patch 8.0.1723: using one item array size declaration is misleading
Problem: Using one item array size declaration is misleading.
Solution: Instead of using "[1]" and actually using a larger array, use
"[]". This is to verify that this C99 feature works for all
compilers.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 16 Apr 2018 15:00:07 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * generic_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "34 34 4 1 0 0", /* colors */ " s none m none c none", ". s bottomShadowColor m black c #5D6069", "X s iconColor2 m white c #FFFFFF", "o s iconColor1 m black c #000000", /* pixels */ " ", " ........ ", " ...XXXXXXXX... ", " ..XXXXXXXXXXXXXX.. ", " .XXXXXXXXXXXXXXXXXX. ", " .XXXXXXXXXXXXXXXXXXXXo ", " .XXXXXXXXXXXXXXXXXXXXXXo ", " .XXXXXXXXXXXXXXXXXXXXXXXXo ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXo. ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXXXo. ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXXXo. ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXXXo.. ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXXXo.. ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXXXo.. ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXXXo.. ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXXXo.. ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXo... ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXo... ", " .XXXXXXXXXXXXXXXXXXXXXXXXo... ", " oXXXXXXXXXXXXXXXXXXXXXXo.... ", " oXXXXXXXXXXXXXXXXXXXXo.... ", " oXXXXXXXXXXXXXXXXXXo.... ", " ooXXXXXXXXXXXXXXoo.... ", " .oooXXXXXXXXooo..... ", " ...oooXXXXo....... ", " ....oXXXo..... ", " .oXXXo.. ", " oXXo.. ", " oXo.. ", " oo.. ", " ... ", " .. ", " "};