Mercurial > vim
view pixmaps/tb_print.xpm @ 26286:2815b25993fb v8.2.3674
patch 8.2.3674: when ml_get_buf() fails it messes up IObuff
Commit: https://github.com/vim/vim/commit/96e7a5928e1e7a350cd6c6d0b9376305190046e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 25 13:52:37 2021 +0000
patch 8.2.3674: when ml_get_buf() fails it messes up IObuff
Problem: When ml_get_buf() fails it messes up IObuff.
Solution: Return a local pointer. (closes https://github.com/vim/vim/issues/9214)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 25 Nov 2021 15:00:06 +0100 |
parents | af1bcb9a13c0 |
children |
line wrap: on
line source
/* XPM */ static char * tb_print_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 7 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 iconGray2 m none c #bdbdbd", "O s iconGray5 m black c #737373", "+ s bottomShadowColor m black c #5D6069", "@ c #FF1144", /* pixels */ " ....... ", " .XXXXX.. ", " .XXXXX.X. ", " .XXXXX.... ", " .XXXXXXXX. ", " .XXXXXXXX. ", " ..XXXXXXXX.. ", " .XXXXXXXX.O ", "................ ", ".XXXXXXXXXXXXXO. ", ".X@@ooooooooooO.O ", ".XooooooooooooO.O ", ".XooooooooooooO.O ", "................O ", " .OOOOOOOOOOOO.OO ", " ..............O ", " OOOOOOOOOOOOO ", " "};