From: Eric W. <war...@us...> - 2001-10-16 19:37:50
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv2099 Modified Files: gtkspell.c Log Message: hm Index: gtkspell.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/gtkspell.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- gtkspell.c 2001/10/09 19:24:16 1.11 +++ gtkspell.c 2001/10/16 19:37:47 1.12 @@ -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); |