aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spellsuggest.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-09-10 14:33:43 +0200
committerGitHub <noreply@github.com>2022-09-10 14:33:43 +0200
commit4638fcf4fb688fa548b8ce337ec3b7c1327fbfe9 (patch)
treeb62862e24e506e0010852d23b68c79103637500c /src/nvim/spellsuggest.c
parent40f9f479b746d0f76fbdd4bc0567d593ca7a6070 (diff)
parent684bc749efef0fa31395d349f4495d79ec5f3fd5 (diff)
downloadrneovim-4638fcf4fb688fa548b8ce337ec3b7c1327fbfe9.tar.gz
rneovim-4638fcf4fb688fa548b8ce337ec3b7c1327fbfe9.tar.bz2
rneovim-4638fcf4fb688fa548b8ce337ec3b7c1327fbfe9.zip
Merge pull request #20068 from dundargoc/refactor/char_u/10
refactor: replace char_u with char 10: remove `FNAMECMP`, `FNAMENCMP` and `STRLCAT`
Diffstat (limited to 'src/nvim/spellsuggest.c')
-rw-r--r--src/nvim/spellsuggest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/spellsuggest.c b/src/nvim/spellsuggest.c
index 5f432f1c9a..16af1b72a3 100644
--- a/src/nvim/spellsuggest.c
+++ b/src/nvim/spellsuggest.c
@@ -533,7 +533,7 @@ void spell_suggest(int count)
}
vim_snprintf((char *)IObuff, IOSIZE, "%2d", i + 1);
if (cmdmsg_rl) {
- rl_mirror(IObuff);
+ rl_mirror((char_u *)IObuff);
}
msg_puts((const char *)IObuff);
@@ -559,7 +559,7 @@ void spell_suggest(int count)
}
if (cmdmsg_rl) {
// Mirror the numbers, but keep the leading space.
- rl_mirror(IObuff + 1);
+ rl_mirror((char_u *)IObuff + 1);
}
msg_advance(30);
msg_puts((const char *)IObuff);