aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-07-16 15:12:43 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-07-16 15:25:10 +0800
commit10fa9c8039ac324c0cd8a59959b89ddf45852410 (patch)
tree1ca601a45e29b1ea0663f8ebaafd555d1be9f0c4 /src
parent0bbccf7c5f4f13b57c027d734dc5086c15d0abda (diff)
downloadrneovim-10fa9c8039ac324c0cd8a59959b89ddf45852410.tar.gz
rneovim-10fa9c8039ac324c0cd8a59959b89ddf45852410.tar.bz2
rneovim-10fa9c8039ac324c0cd8a59959b89ddf45852410.zip
vim-patch:8.2.1651: spellfile code not completely tested
Problem: Spellfile code not completely tested. Solution: Add a few more test cases. (Yegappan Lakshmanan, closes vim/vim#6918) https://github.com/vim/vim/commit/64e2db6dc6d7a013ff94ce302af8958cbd2704af Fix incorrect spellfile message. Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src')
-rw-r--r--src/nvim/spellfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c
index ddeab218e1..ae8c243486 100644
--- a/src/nvim/spellfile.c
+++ b/src/nvim/spellfile.c
@@ -4105,8 +4105,8 @@ static void wordtree_compress(spellinfo_T *spin, wordnode_T *root, const char *n
perc = (tot - n) * 100 / tot;
}
vim_snprintf(IObuff, IOSIZE,
- _("Compressed %s of %d nodes; %d (%ld%%) remaining"),
- name, tot, tot - n, perc);
+ _("Compressed %s: %d of %d nodes; %d (%ld%%) remaining"),
+ name, n, tot, tot - n, perc);
spell_message(spin, IObuff);
}
#ifdef SPELL_PRINTTREE