mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
refactor: remove redundant casts
This commit is contained in:
@@ -1002,7 +1002,7 @@ char *replace_termcodes(const char *const from, const size_t from_len, char **co
|
||||
}
|
||||
|
||||
// skip multibyte char correctly
|
||||
for (i = utfc_ptr2len_len((char *)src, (int)(end - src) + 1); i > 0; i--) {
|
||||
for (i = utfc_ptr2len_len(src, (int)(end - src) + 1); i > 0; i--) {
|
||||
// If the character is K_SPECIAL, replace it with K_SPECIAL
|
||||
// KS_SPECIAL KE_FILLER.
|
||||
if (*src == (char)K_SPECIAL) {
|
||||
|
Reference in New Issue
Block a user