Mercurial > vim
view pixmaps/alert.xpm @ 31012:4ba2890de10d v9.0.0841
patch 9.0.0841: deletebufline() does not always return 1 on failure
Commit: https://github.com/vim/vim/commit/7af3ee2b83545169d78a28ab1cd89aff1127f8b3
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun Nov 6 22:26:05 2022 +0000
patch 9.0.0841: deletebufline() does not always return 1 on failure
Problem: deletebufline() does not always return 1 on failure.
Solution: Refactor the code to make it work more predictable. (closes https://github.com/vim/vim/issues/11511)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 06 Nov 2022 23:30:03 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * alert_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "34 34 4 1 0 0", /* colors */ " s none m none c none", ". s iconColor1 m black c #000000", "X s iconColor6 m white c #FFFF00", "o s bottomShadowColor m black c #5D6069", /* pixels */ " ", " ... ", " .XXX. ", " .XXXXX.o ", " .XXXXX.oo ", " .XXXXXXX.oo ", " .XXXXXXX.oo ", " .XXXXXXXXX.oo ", " .XXXXXXXXX.oo ", " .XXXXXXXXXXX.oo ", " .XXXX...XXXX.oo ", " .XXXX.....XXXX.oo ", " .XXXX.....XXXX.oo ", " .XXXXX.....XXXXX.oo ", " .XXXXX.....XXXXX.oo ", " .XXXXXX.....XXXXXX.oo ", " .XXXXXX.....XXXXXX.oo ", " .XXXXXXXX...XXXXXXXX.oo ", " .XXXXXXXX...XXXXXXXX.oo ", " .XXXXXXXXX...XXXXXXXXX.oo ", " .XXXXXXXXXX.XXXXXXXXXX.oo ", " .XXXXXXXXXXX.XXXXXXXXXXX.oo ", " .XXXXXXXXXXXXXXXXXXXXXXX.oo ", " .XXXXXXXXXXXX..XXXXXXXXXXX.oo ", " .XXXXXXXXXXX....XXXXXXXXXX.oo ", " .XXXXXXXXXXXX....XXXXXXXXXXX.oo ", " .XXXXXXXXXXXXX..XXXXXXXXXXXX.oo ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXX.ooo ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXX.ooo ", " .XXXXXXXXXXXXXXXXXXXXXXXXX.oooo ", " .........................ooooo ", " ooooooooooooooooooooooooooo ", " ooooooooooooooooooooooooo ", " "};