Mercurial > vim
view pixmaps/info.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 |
line wrap: on
line source
/* XPM */ static char * info_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "34 34 4 1 0 0", /* colors */ " s none m none c none", ". s bottomShadowColor m black c #5D6069", "X s iconColor2 m white c #FFFFFF", "o s iconColor1 m black c #000000", /* pixels */ " ", " ........ ", " ...XXXXXXXX... ", " ..XXXXXXXXXXXXXX.. ", " .XXXXXXXXXXXXXXXXXX. ", " .XXXXXXXXooooXXXXXXXXo ", " .XXXXXXXXooooooXXXXXXXXo ", " .XXXXXXXXXooooooXXXXXXXXXo ", " .XXXXXXXXXXXooooXXXXXXXXXXXo ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXo. ", " .XXXXXXXXXXXXXXXXXXXXXXXXXXXXo. ", " .XXXXXXXXXXoooooooXXXXXXXXXXXo. ", " .XXXXXXXXXXXXoooooXXXXXXXXXXXo.. ", " .XXXXXXXXXXXXoooooXXXXXXXXXXXo.. ", " .XXXXXXXXXXXXoooooXXXXXXXXXXXo.. ", " .XXXXXXXXXXXXoooooXXXXXXXXXXXo.. ", " .XXXXXXXXXXXXoooooXXXXXXXXXXXo.. ", " .XXXXXXXXXXXoooooXXXXXXXXXXo... ", " .XXXXXXXXXXXoooooXXXXXXXXXXo... ", " .XXXXXXXXXXoooooXXXXXXXXXo... ", " oXXXXXXXoooooooooXXXXXXo.... ", " oXXXXXXXXXXXXXXXXXXXXo.... ", " oXXXXXXXXXXXXXXXXXXo.... ", " ooXXXXXXXXXXXXXXoo.... ", " .oooXXXXXXXXooo..... ", " ...oooXXXXo....... ", " ....oXXXo..... ", " .oXXXo.. ", " oXXo.. ", " oXo.. ", " oo.. ", " ... ", " .. ", " "};