summaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-06 04:24:17 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-06 04:24:17 +0200
commit84a05acc8c341c2be383198496764992ae971a46 (patch)
tree061887e2e1327a2d0c688cba306b8ec66b3f8477 /src/spell.c
parent84e0f6ca9adcbdca254060713878ebc29faaaa65 (diff)
downloadvim-git-84a05acc8c341c2be383198496764992ae971a46.tar.gz
updated for version 7.3.925v7.3.925
Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/spell.c b/src/spell.c
index ea47b1b2f..29356bf9e 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -4228,7 +4228,7 @@ did_set_spelllang(wp)
ga_init2(&ga, sizeof(langp_T), 2);
clear_midword(wp);
- /* Make a copy of 'spellang', the SpellFileMissing autocommands may change
+ /* Make a copy of 'spelllang', the SpellFileMissing autocommands may change
* it under our fingers. */
spl_copy = vim_strsave(wp->w_s->b_p_spl);
if (spl_copy == NULL)
@@ -7645,7 +7645,7 @@ tree_add_word(spin, word, root, flags, region, affixID)
/* Compress both trees. Either they both have many nodes, which makes
* compression useful, or one of them is small, which means
- * compression goes fast. But when filling the souldfold word tree
+ * compression goes fast. But when filling the soundfold word tree
* there is no keep-case tree. */
wordtree_compress(spin, spin->si_foldroot);
if (affixID >= 0)
@@ -8671,7 +8671,7 @@ sug_filltree(spin, slang)
unsigned words_done = 0;
int wordcount[MAXWLEN];
- /* We use si_foldroot for the souldfolded trie. */
+ /* We use si_foldroot for the soundfolded trie. */
spin->si_foldroot = wordtree_alloc(spin);
if (spin->si_foldroot == NULL)
return FAIL;
@@ -13019,7 +13019,7 @@ score_comp_sal(su)
/*
* Combine the list of suggestions in su->su_ga and su->su_sga.
- * They are intwined.
+ * They are entwined.
*/
static void
score_combine(su)
@@ -13457,7 +13457,7 @@ badword:
/* Add a small penalty for changing the first letter from
* lower to upper case. Helps for "tath" -> "Kath", which is
- * less common thatn "tath" -> "path". Don't do it when the
+ * less common than "tath" -> "path". Don't do it when the
* letter is the same, that has already been counted. */
gc = PTR2CHAR(p);
if (SPELL_ISUPPER(gc))