]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1738: Duplicate code to reverse a string v9.0.1738
authorzeertzjq <zeertzjq@outlook.com>
Sat, 19 Aug 2023 09:35:03 +0000 (11:35 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 19 Aug 2023 09:35:03 +0000 (11:35 +0200)
commit4dd266cb66d901cf5324f09405cfea3f004bd29f
tree107f870fe1c042d11466e459c3aaa1988b2d3bcf
parentb102728c204430b16a5d9e6720c882e12a687570
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>
src/list.c
src/proto/search.pro
src/proto/strings.pro
src/search.c
src/strings.c
src/version.c