aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/e-spell-entry.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/misc/e-spell-entry.c b/widgets/misc/e-spell-entry.c
index c0912021af..79f0d8a816 100644
--- a/widgets/misc/e-spell-entry.c
+++ b/widgets/misc/e-spell-entry.c
@@ -142,6 +142,9 @@ spell_entry_recheck_all (ESpellEntry *entry)
PangoLayout *layout;
gint length, i;
+ if (!entry->priv->words)
+ return;
+
/* Remove all existing pango attributes. These will get read as we check */
pango_attr_list_unref (entry->priv->attr_list);
entry->priv->attr_list = pango_attr_list_new ();