1
0
forked from aniani/vim

updated for version 7.0d

This commit is contained in:
Bram Moolenaar
2006-04-10 14:55:34 +00:00
parent c6fe919573
commit 779b74b2a2
175 changed files with 1168 additions and 996 deletions

View File

@@ -5959,7 +5959,7 @@ aff_process_flags(affile, entry)
{
char_u *p;
char_u *prevp;
int flag;
unsigned flag;
if (entry->ae_flags != NULL
&& (affile->af_compforbid != 0 || affile->af_comppermit != 0))
@@ -6474,6 +6474,7 @@ spell_read_dic(spin, fname, affile)
if (spin->si_ascii && has_non_ascii(w))
{
++non_ascii;
vim_free(pc);
continue;
}
@@ -6495,10 +6496,11 @@ spell_read_dic(spin, fname, affile)
/* Store the word in the hashtable to be able to find duplicates. */
dw = (char_u *)getroom_save(spin, w);
if (dw == NULL)
{
retval = FAIL;
vim_free(pc);
if (retval == FAIL)
vim_free(pc);
break;
}
hash = hash_hash(dw);
hi = hash_lookup(&ht, dw, hash);
@@ -6558,6 +6560,8 @@ spell_read_dic(spin, fname, affile)
CONDIT_SUF, flags, store_afflist, pfxlen) == FAIL)
retval = FAIL;
}
vim_free(pc);
}
if (duplicate > 0)