Mercurial > vim
view pixmaps/tb_undo.xpm @ 33531:1a769647d661
patch 9.0.2013: confusing ifdefs in if_<lang>.c
Commit: https://github.com/vim/vim/commit/c97b3febc82c1ccacf5f328ed0bd81c8b850e97d
Author: Ken Takata <kentkt@csc.jp>
Date: Wed Oct 11 21:27:06 2023 +0200
patch 9.0.2013: confusing ifdefs in if_<lang>.c
Problem: confusing ifdefs in if_<lang>.c
Solution: refactor ifndefs to #ifdefs
if_x: Avoid using #ifndef - #else - #endif
Using #ifndef - #else - #endif is sometimes confusing.
Use #ifdef - #else - #endif instead.
closes: #13310
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Ken Takata <kentkt@csc.jp>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 11 Oct 2023 21:30:11 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_undo_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 */ " ", " ", " .. ..... ", " .X..XXXXX.. ", " .XXXXXXXXXX. ", " .XXXX....XX.o ", " .XXXX.ooo.XX. ", " .XXXXX. .XX.o ", " .......o .XX.o ", " o.ooooo .XX.o ", " .X. .XX.o ", " .XX.....XX.oo ", " .XXXXXXXX.o ", " .XXXXX..oo ", " .....ooo ", " ooooo ", " ", " "};