aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spellsuggest.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-03-14 14:00:56 +0100
committerGitHub <noreply@github.com>2023-03-14 14:00:56 +0100
commitd1e0f7454b5fc61d26db5af5ce00c1894e7c49fc (patch)
treeef972775c047745b19db5c06e1e490090d3a26f0 /src/nvim/spellsuggest.c
parent4f7879dff0f0dc22ddf4cb2a2095b88605a3bab0 (diff)
parentd6ecead36406233cc56353dd05f3380f0497630f (diff)
downloadrneovim-d1e0f7454b5fc61d26db5af5ce00c1894e7c49fc.tar.gz
rneovim-d1e0f7454b5fc61d26db5af5ce00c1894e7c49fc.tar.bz2
rneovim-d1e0f7454b5fc61d26db5af5ce00c1894e7c49fc.zip
Merge pull request #22666 from bfredl/unscreen
refactor(screen): screen.c delenda est
Diffstat (limited to 'src/nvim/spellsuggest.c')
-rw-r--r--src/nvim/spellsuggest.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/spellsuggest.c b/src/nvim/spellsuggest.c
index 2a9b5e1f4e..705e215dfa 100644
--- a/src/nvim/spellsuggest.c
+++ b/src/nvim/spellsuggest.c
@@ -39,7 +39,6 @@
#include "nvim/os/os_defs.h"
#include "nvim/pos.h"
#include "nvim/profile.h"
-#include "nvim/screen.h"
#include "nvim/spell.h"
#include "nvim/spellfile.h"
#include "nvim/spellsuggest.h"
@@ -569,7 +568,7 @@ void spell_suggest(int count)
}
vim_snprintf(IObuff, IOSIZE, "%2d", i + 1);
if (cmdmsg_rl) {
- rl_mirror(IObuff);
+ rl_mirror_ascii(IObuff);
}
msg_puts((const char *)IObuff);
@@ -595,7 +594,7 @@ void spell_suggest(int count)
}
if (cmdmsg_rl) {
// Mirror the numbers, but keep the leading space.
- rl_mirror(IObuff + 1);
+ rl_mirror_ascii(IObuff + 1);
}
msg_advance(30);
msg_puts((const char *)IObuff);