Mercurial > vim
annotate pixmaps/tb_save.xpm @ 32226:a5b5d8df5763 v9.0.1444
patch 9.0.1444: crash when passing NULL to setcmdline()
Commit: https://github.com/vim/vim/commit/ac6cd31afcbdd08bfa92ca33f7d4ce5773ba4353
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed Apr 12 16:21:14 2023 +0100
patch 9.0.1444: crash when passing NULL to setcmdline()
Problem: Crash when passing NULL to setcmdline(). (Andreas Louv)
Solution: Use tv_get_string() instead of using v_string directly.
(closes #12231, closes #12227)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 12 Apr 2023 17:30:04 +0200 |
parents | 3fc0f57ecb91 |
children |
rev | line source |
---|---|
7 | 1 /* XPM */ |
2 static char * tb_save_xpm[] = { | |
3 /* width height ncolors cpp [x_hot y_hot] */ | |
4 "18 18 5 1 0 0", | |
5 /* colors */ | |
6 " s none m none c none", | |
7 ". s iconColor1 m black c #000000", | |
8 "X s iconGray2 m none c #bdbdbd", | |
9 "o s iconColor2 m none c #FFFFFF", | |
10 "O s bottomShadowColor m black c #5D6069", | |
11 /* pixels */ | |
12 " ", | |
13 " .............. ", | |
14 " .X.oooooooo.o. ", | |
15 " .X.oooooooo...O ", | |
16 " .X.oooooooo.X.O ", | |
17 " .X.oooooooo.X.O ", | |
18 " .X.oooooooo.X.O ", | |
19 " .X.oooooooo.X.O ", | |
20 " .XX........XX.O ", | |
21 " .XXXXXXXXXXXX.O ", | |
22 " .XX.........X.O ", | |
23 " .XX......oo.X.O ", | |
24 " .XX......oo.X.O ", | |
25 " .XX......oo.X.O ", | |
26 " .............O ", | |
27 " OOOOOOOOOOOOO ", | |
28 " ", | |
29 " "}; |