mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
*: Partial string handling refactoring
Main points: - Replace `char_u` with `char` in some cases. - Remove `str[len] = NUL` hack in some cases when `str` may be considered `const`.
This commit is contained in:
@@ -1410,8 +1410,8 @@ recover_names (
|
||||
for (int i = 0; i < num_files; ++i) {
|
||||
/* print the swap file name */
|
||||
msg_outnum((long)++file_count);
|
||||
MSG_PUTS(". ");
|
||||
msg_puts(path_tail(files[i]));
|
||||
msg_puts(". ");
|
||||
msg_puts((const char *)path_tail(files[i]));
|
||||
msg_putchar('\n');
|
||||
(void)swapfile_info(files[i]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user