# HG changeset patch # User Eric Warmenhoven # Date 1003261067 0 # Node ID 9cee43e4903d32fe2c6474db2d6083772a5ccfcb # Parent d379814be59eeb36de61382f56129431becb9982 [gaim-migrate @ 2530] hm committer: Tailor Script diff -r d379814be59e -r 9cee43e4903d src/gtkspell.c --- a/src/gtkspell.c Tue Oct 16 18:12:33 2001 +0000 +++ b/src/gtkspell.c Tue Oct 16 19:37:47 2001 +0000 @@ -315,6 +315,10 @@ static int misspelled_test(char *word) { char *buf; + + if (word == NULL) + return 0; + buf = g_strdup_printf("^%s\n", word); /* guard against ispell control chars */ writetext(buf); g_free(buf);