Mercurial > vim
view pixmaps/tb_copy.xpm @ 8346:8fa75a4c39bd v7.4.1465
commit https://github.com/vim/vim/commit/cc7f8be3e0e6c4d902b02052a862e21c3a3fbe22
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 29 22:55:56 2016 +0100
patch 7.4.1465
Problem: Coverity reported possible use of NULL pointer when using buffer
output with JSON mode.
Solution: Make it actually possible to use JSON mode with a buffer.
Re-encode the JSON to append it to the buffer.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 29 Feb 2016 23:00:04 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_copy_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 */ " ", " ", " .......... ", " .XXXXXXXX.o ", " .X............. ", " .XXXX.XXXXXXXX. ", " .X....X......X.o ", " .XXXX.XXXXXXXX.o ", " .X....X......X.o ", " .XXXX.XXXXXXXX.o ", " .X..X.X......X.o ", " .XXXX.XXXXXXXX.o ", " ......X..XXXXX.o ", " oooo.XXXXXXXX.o ", " ..........o ", " ooooooooo ", " ", " "};