mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -2733,7 +2733,7 @@ void buflist_list(exarg_T *eap)
|
||||
IObuff[len++] = ' ';
|
||||
} while (--i > 0 && len < IOSIZE - 18);
|
||||
if (vim_strchr(eap->arg, 't') && buf->b_last_used) {
|
||||
undo_fmt_time(IObuff + len, (size_t)(IOSIZE - len), buf->b_last_used);
|
||||
undo_fmt_time((char_u *)IObuff + len, (size_t)(IOSIZE - len), buf->b_last_used);
|
||||
} else {
|
||||
vim_snprintf((char *)IObuff + len, (size_t)(IOSIZE - len), _("line %" PRId64),
|
||||
buf == curbuf ? (int64_t)curwin->w_cursor.lnum : (int64_t)buflist_findlnum(buf));
|
||||
@@ -2965,7 +2965,7 @@ static bool otherfile_buf(buf_T *buf, char *ffname, FileID *file_id_p, bool file
|
||||
if (ffname == NULL || *ffname == NUL || buf->b_ffname == NULL) {
|
||||
return true;
|
||||
}
|
||||
if (FNAMECMP(ffname, buf->b_ffname) == 0) {
|
||||
if (path_fnamecmp(ffname, buf->b_ffname) == 0) {
|
||||
return false;
|
||||
}
|
||||
{
|
||||
|
Reference in New Issue
Block a user