Mercurial > vim
view pixmaps/tb_vsplit.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 * tb_vsplit_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 5 1 0 0", /* colors */ " s none m none c none", ". s topShadowColor m none c #DCDEE5", "X s iconColor1 m black c #000000", "o s iconColor2 m none c #FFFFFF", "O s bottomShadowColor m black c #5D6069", /* pixels */ " ", " .XXXXXXXXXXXXXX ", " .X....oXO....oX ", " .X..o.oXO..o.oXO ", " .X.oo.oXO.oo.oXO ", " .X....oXO....oXO ", " .X....oXO....oXO ", " .X....oXO....oXO ", " .X....oXO....oXO ", " .X....oXO....oXO ", " .X....oXO....oXO ", " .X....oXO....oXO ", " .X....oXO....oXO ", " .X....oXO....oXO ", " .XoooooXooooooXO ", " .XXXXXXXXXXXXXXO ", " OOOOOOOOOOOOO ", " "};