mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
charset,*: Refactor transstr()
This commit is contained in:
@@ -1775,7 +1775,7 @@ char_u *get_foldtext(win_T *wp, linenr_T lnum, linenr_T lnume,
|
||||
break;
|
||||
}
|
||||
if (*p != NUL) {
|
||||
p = transstr(text);
|
||||
p = (char_u *)transstr((const char *)text);
|
||||
xfree(text);
|
||||
text = p;
|
||||
}
|
||||
|
Reference in New Issue
Block a user