Mercurial > vim
view pixmaps/tb_macro.xpm @ 14495:178162aeebeb v8.1.0261
patch 8.1.0261: Coverity complains about a negative array index
commit https://github.com/vim/vim/commit/38efd1d17a6e6aa2add71efdf2cde4a788e5f5e5
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 9 21:52:24 2018 +0200
patch 8.1.0261: Coverity complains about a negative array index
Problem: Coverity complains about a negative array index.
Solution: When qf_id2nr() cannot find the list then don't set qf_curlist.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 09 Aug 2018 22:00:06 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_macro_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 bottomShadowColor m black c #5D6069", "o s iconColor2 m none c #FFFFFF", /* pixels */ " ..X ", " .oo.X ", " .oooo.X ", " .oooo.X ", " .oo.XX ", " ..XX ", " .....o.X ", " .ooooooo.X ", " .oooooooo.X ", " .....ooo.X ", " ..ooo.X ", " .ooooo.X ", " .ooooooo.X ", " .ooo...ooo.X ", " .ooo.XX..ooo.X ", " .oo.XX X.oo.X ", " ...X X...X ", " XX XXX "};