diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-05-16 14:24:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-16 14:24:29 +0200 |
commit | b9b5577d6d8e07d1e39020c8fc05f817f2e81c66 (patch) | |
tree | 0d4b5f8b4db1ad7b4cd6d93c89d149e9e2d84570 /src/nvim/ui.c | |
parent | 14d653b421d3ee4e0d641e45e67dafe43809e502 (diff) | |
parent | f0148de7907ec297647816d51c79745be729439e (diff) | |
download | rneovim-b9b5577d6d8e07d1e39020c8fc05f817f2e81c66.tar.gz rneovim-b9b5577d6d8e07d1e39020c8fc05f817f2e81c66.tar.bz2 rneovim-b9b5577d6d8e07d1e39020c8fc05f817f2e81c66.zip |
Merge pull request #18578 from dundargoc/refactor/remove-char_u
refactor: remove char_u
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r-- | src/nvim/ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 2dc1e0ec25..9e2d1f8e68 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -344,7 +344,7 @@ void vim_beep(unsigned val) // When 'debug' contains "beep" produce a message. If we are sourcing // a script or executing a function give the user a hint where the beep // comes from. - if (vim_strchr(p_debug, 'e') != NULL) { + if (vim_strchr((char *)p_debug, 'e') != NULL) { msg_source(HL_ATTR(HLF_W)); msg_attr(_("Beep!"), HL_ATTR(HLF_W)); } @@ -567,7 +567,7 @@ void ui_check_mouse(void) for (char_u *p = p_mouse; *p; p++) { switch (*p) { case 'a': - if (vim_strchr((char_u *)MOUSE_A, checkfor) != NULL) { + if (vim_strchr(MOUSE_A, checkfor) != NULL) { has_mouse = true; return; } |