--- a/src/gtkspell.c Tue Oct 09 19:18:41 2001 +0000
+++ b/src/gtkspell.c Tue Oct 09 19:24:16 2001 +0000
@@ -255,6 +255,9 @@
GList *l = NULL;
int count;
+ if (!word)
+ return NULL;
+
buf = g_strdup_printf("^%s\n", word); /* guard against ispell control chars */
writetext(buf);
g_free(buf);