aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.c
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2022-08-26 23:11:25 +0200
committerdundargoc <gocdundar@gmail.com>2022-08-31 21:17:10 +0200
commitbd51ac2a347c0a3efb64e4b09400b7314286844c (patch)
treed2ad8f38ee9cbebfa539c309b79ed09c57f25d1c /src/nvim/ui.c
parentf078a3453ae479e4d6f88f874e8d282d63c798a3 (diff)
downloadrneovim-bd51ac2a347c0a3efb64e4b09400b7314286844c.tar.gz
rneovim-bd51ac2a347c0a3efb64e4b09400b7314286844c.tar.bz2
rneovim-bd51ac2a347c0a3efb64e4b09400b7314286844c.zip
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r--src/nvim/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c
index 46f4d137c4..08c1946e13 100644
--- a/src/nvim/ui.c
+++ b/src/nvim/ui.c
@@ -565,7 +565,7 @@ void ui_check_mouse(void)
// - 'a' is in 'mouse' and "c" is in MOUSE_A, or
// - the current buffer is a help file and 'h' is in 'mouse' and we are in a
// normal editing mode (not at hit-return message).
- for (char_u *p = (char_u *)p_mouse; *p; p++) {
+ for (char *p = p_mouse; *p; p++) {
switch (*p) {
case 'a':
if (vim_strchr(MOUSE_A, checkfor) != NULL) {