summaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-05-10 16:48:19 +0000
committerBram Moolenaar <Bram@vim.org>2007-05-10 16:48:19 +0000
commitf711faf099d628a29503e91381294c02dcd9f800 (patch)
tree93f376171cc41958151ff0a056ccdde46042987c /src/spell.c
parentb6799acd2d50b65eecfd3d691573628e3e8aa474 (diff)
downloadvim-git-f711faf099d628a29503e91381294c02dcd9f800.tar.gz
updated for version 7.1b
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/spell.c b/src/spell.c
index e39381716..4e5e7c6e1 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -8226,7 +8226,7 @@ write_vim_spell(spin, fname)
putc(SN_NOBREAK, fd); /* <sectionID> */
putc(0, fd); /* <sectionflags> */
- /* It's empty, the precense of the section flags the feature. */
+ /* It's empty, the presence of the section flags the feature. */
put_bytes(fd, (long_u)0, 4); /* <sectionlen> */
}
@@ -11554,7 +11554,7 @@ suggest_trie_walk(su, lp, fword, soundfold)
if (soundfold)
{
/* For soundfolded words we need to find the original
- * words, the edit distrance and then add them. */
+ * words, the edit distance and then add them. */
add_sound_suggest(su, preword, sp->ts_score, lp);
}
else
@@ -14666,7 +14666,7 @@ soundalike_score(goodstart, badstart)
goodlen = (int)STRLEN(goodsound);
badlen = (int)STRLEN(badsound);
- /* Return quickly if the lenghts are too different to be fixed by two
+ /* Return quickly if the lengths are too different to be fixed by two
* changes. */
n = goodlen - badlen;
if (n < -2 || n > 2)
@@ -14862,7 +14862,7 @@ spell_edit_score(slang, badword, goodword)
char_u *goodword;
{
int *cnt;
- int badlen, goodlen; /* lenghts including NUL */
+ int badlen, goodlen; /* lengths including NUL */
int j, i;
int t;
int bc, gc;