summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-06 22:29:20 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-06 22:29:20 +0000
commit551f84f4e8a8e1dff7e4ec0a6e6e73a26905751e (patch)
tree67a4457560a36d1df8fe81e5feea8335bd28873b /src
parent1756879365678e0f93de6f39812bd98cdfedd754 (diff)
downloadvim-551f84f4e8a8e1dff7e4ec0a6e6e73a26905751e.zip
updated for version 7.0104
Diffstat (limited to 'src')
-rw-r--r--src/spell.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c
index 94991e734..175cf0bff 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -4107,7 +4107,8 @@ store_aff_word(word, spin, afflist, affile, ht, xht, comb, flags, pfxlist)
use_pfxlist = pfxlist;
/* When there are postponed prefixes... */
- if (spin->si_prefroot != NULL)
+ if (spin->si_prefroot != NULL
+ && spin->si_prefroot->wn_sibling != NULL)
{
/* ... add a flag to indicate an affix was used. */
use_flags |= WF_HAS_AFF;