mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -674,7 +674,7 @@ static void fname2fnum(xfmark_T *fm)
|
||||
)) {
|
||||
int len;
|
||||
|
||||
expand_env((char_u *)"~/", (char_u *)NameBuff, MAXPATHL);
|
||||
expand_env("~/", NameBuff, MAXPATHL);
|
||||
len = (int)STRLEN(NameBuff);
|
||||
STRLCPY(NameBuff + len, fm->fname + 2, MAXPATHL - len);
|
||||
} else {
|
||||
@@ -911,7 +911,7 @@ static void show_one_mark(int c, char_u *arg, pos_T *p, char_u *name_arg, int cu
|
||||
name = mark_line(p, 15);
|
||||
mustfree = true;
|
||||
}
|
||||
if (!message_filtered(name)) {
|
||||
if (!message_filtered((char *)name)) {
|
||||
if (!did_title) {
|
||||
// Highlight title
|
||||
msg_puts_title(_("\nmark line col file/text"));
|
||||
@@ -1037,7 +1037,7 @@ void ex_jumps(exarg_T *eap)
|
||||
name = vim_strsave((char_u *)"-invalid-");
|
||||
}
|
||||
// apply :filter /pat/ or file name not available
|
||||
if (name == NULL || message_filtered(name)) {
|
||||
if (name == NULL || message_filtered((char *)name)) {
|
||||
xfree(name);
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user