Mercurial > vim
view pixmaps/tb_open.xpm @ 15581:c2382f0d1279 v8.1.0798
patch 8.1.0798: changing a blob while iterating over it works strangely
commit https://github.com/vim/vim/commit/dd29ea18050284526174b5685781469240f5bc4a
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 23 21:56:21 2019 +0100
patch 8.1.0798: changing a blob while iterating over it works strangely
Problem: Changing a blob while iterating over it works strangely.
Solution: Make a copy of the Blob before iterating.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Jan 2019 22:00:06 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_open_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 7 1 0 0", /* colors */ " s none m none c none", ". s iconColor1 m black c #000000", "X s bottomShadowColor m black c #5D6069", "o s iconColor2 m none c #FFFFFF", "O s iconGray1 m none c #dedede", "+ s iconGray5 m black c #737373", "@ s iconGray3 m none c #adadad", /* pixels */ " ", " .........X ", " .oooooo.o.X ", " .oooooo.oo.X ", " .oooooo....X ", " ...ooooooooo... ", " .O.OOOOOOOOo.+. ", ".............O.+.X", ".oooooooooooo..+.X", " .o@@@@@@@@@@+.+.X", " .o@@@@@@@@@@@.+.X", " .o@@@@@@@@@@+..X", " .o@@@@@@@@@@@..X", " .o+++++++++++.X", " ..............X", " XXXXXXXXXXXXX", " ", " "};