Mercurial > vim
view pixmaps/tb_make.xpm @ 29355:796198629190 v9.0.0020
patch 9.0.0020: with some completion reading past end of string
Commit: https://github.com/vim/vim/commit/f12129f1714f7d2301935bb21d896609bdac221c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 1 19:58:30 2022 +0100
patch 9.0.0020: with some completion reading past end of string
Problem: With some completion reading past end of string.
Solution: Check the length of the string.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 01 Jul 2022 21:00:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_make_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 4 1 0 0", /* colors */ " s none m none c none", ". s iconColor1 m black c #000000", "X s iconColor2 m none c #FFFFFF", "o s bottomShadowColor m black c #5D6069", /* pixels */ " ", " .. ..... ", " .XX.XXXXX. ", " .XXXXXXXXX. ", " .Xo.XXXX..X. ", " .. ....o .. ", " ... . ", " ...o ", " ...o ", " ...o ", " ...o ", " ...o ", " ...o ", " ...o ", " ...o ", " ...o ", " ooo ", " "};