summaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spell.c')
-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;