Mercurial > vim
view pixmaps/tb_minimize.xpm @ 30003:01087b4630da v9.0.0339
patch 9.0.0339: no check if the return value of XChangeGC() is NULL
Commit: https://github.com/vim/vim/commit/a63ad78ed31e36dbdf3a9cd28071dcdbefce7d19
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 31 12:01:54 2022 +0100
patch 9.0.0339: no check if the return value of XChangeGC() is NULL
Problem: No check if the return value of XChangeGC() is NULL.
Solution: Only use the return value when it is not NULL. (closes https://github.com/vim/vim/issues/11020)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 31 Aug 2022 13:15:02 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_minimize_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 5 1 0 0", /* colors */ " s none m none c none", ". s iconColor1 m black c #000000", "X s topShadowColor m none c #DCDEE5", "o s iconColor2 m none c #FFFFFF", "O s bottomShadowColor m black c #5D6069", /* pixels */ " ", " ..... ", " ... ", " . ", " ", " X............. ", " X.XXXXXXXXXXo. ", " X.XXoXXXXXXXo.O ", " X.XXXXXXXXXXo.O ", " X.XXXXXXXXXoo.O ", " X.ooooooooooo.O ", " X.............O ", " OOOOOOOOOOOO ", " ", " . ", " ... ", " ..... ", " "};