mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
vim-patch:8.1.0779: argument for message functions is inconsistent
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
32526b3c18
This commit is contained in:
@@ -1586,7 +1586,7 @@ void show_utf8(void)
|
||||
line = get_cursor_pos_ptr();
|
||||
len = utfc_ptr2len(line);
|
||||
if (len == 0) {
|
||||
MSG("NUL");
|
||||
msg("NUL");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1609,7 +1609,7 @@ void show_utf8(void)
|
||||
}
|
||||
}
|
||||
|
||||
msg(IObuff);
|
||||
msg((char *)IObuff);
|
||||
}
|
||||
|
||||
/// Return offset from "p" to the first byte of the character it points into.
|
||||
|
Reference in New Issue
Block a user