Mercurial > pidgin
changeset 2517:9cee43e4903d
[gaim-migrate @ 2530]
hm
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 16 Oct 2001 19:37:47 +0000 |
parents | d379814be59e |
children | e7478176e760 |
files | src/gtkspell.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);