Mercurial > vim
annotate pixmaps/tb_save_all.xpm @ 32856:06562c9307dd v9.0.1738
patch 9.0.1738: Duplicate code to reverse a string
Commit: https://github.com/vim/vim/commit/4dd266cb66d901cf5324f09405cfea3f004bd29f
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat Aug 19 11:35:03 2023 +0200
patch 9.0.1738: Duplicate code to reverse a string
Problem: Duplicate code to reverse a string
Solution: Move reverse_text() to strings.c and remove string_reverse().
closes: #12847
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 19 Aug 2023 11:45:04 +0200 |
parents | 3fc0f57ecb91 |
children |
rev | line source |
---|---|
7 | 1 /* XPM */ |
2 static char * tb_save_all_xpm[] = { | |
3 /* width height ncolors cpp [x_hot y_hot] */ | |
4 "18 18 5 1 0 0", | |
5 /* colors */ | |
6 " s iconColor1 m black c #000000", | |
7 ". s none m none c none", | |
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 " X oooooooo o ....", | |
14 " X oooooooo O...", | |
15 " X .", | |
16 " X X oooooooo o .", | |
17 " X X oooooooo O", | |
18 " X X oooooooo X O", | |
19 " XX X oooooooo X O", | |
20 " XX X oooooooo X O", | |
21 " XX X oooooooo X O", | |
22 " XX XX XX O", | |
23 " XX XXXXXXXXXXXX O", | |
24 " XX XX X O", | |
25 ". XX oo X O", | |
26 "..O XX oo X O", | |
27 "... XX oo X O", | |
28 ".... O", | |
29 ".....OOOOOOOOOOOO."}; |