mirror of
https://github.com/neovim/neovim.git
synced 2025-09-21 10:48:18 +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:
@@ -2545,7 +2545,7 @@ void vim_beep(unsigned val)
|
||||
* function give the user a hint where the beep comes from. */
|
||||
if (vim_strchr(p_debug, 'e') != NULL) {
|
||||
msg_source(hl_attr(HLF_W));
|
||||
msg_attr((char_u *)_("Beep!"), hl_attr(HLF_W));
|
||||
msg_attr(_("Beep!"), hl_attr(HLF_W));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user