mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
refactor: set_chars_option()
Rename "set" to "apply" and tidy up variable scopes.
This commit is contained in:
@@ -1655,7 +1655,7 @@ int hex2nr(int c)
|
||||
|
||||
/// Convert two hex characters to a byte.
|
||||
/// Return -1 if one of the characters is not hex.
|
||||
int hexhex2nr(char_u *p)
|
||||
int hexhex2nr(const char_u *p)
|
||||
FUNC_ATTR_PURE
|
||||
{
|
||||
if (!ascii_isxdigit(p[0]) || !ascii_isxdigit(p[1])) {
|
||||
|
Reference in New Issue
Block a user