Mercurial > vim
annotate pixmaps/tb_save.xpm @ 14216:12bdbf9f7e20 v8.1.0125
patch 8.1.0125: virtual edit replace with multi-byte fails at end of line
commit https://github.com/vim/vim/commit/630afe889a2a02b367ea8eaaa48e66ed81e77ff3
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 28 19:26:28 2018 +0200
patch 8.1.0125: virtual edit replace with multi-byte fails at end of line
Problem: Virtual edit replace with multi-byte fails at end of line. (Lukas
Werling)
Solution: use ins_char() to add the character. (Christian Brabandt,
closes #3114) Rename PCHAR() to PBYTE() to avoid mistakes like
this.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 28 Jun 2018 19:30:07 +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 " "}; |