Update of /cvsroot/gaim/gaim/src
In directory usw-pr-cvs1:/tmp/cvs-serv6458
Modified Files:
gtkspell.c
Log Message:
be more assertive. this was a bug in gtkspell even before my patch, i think; it's just easier to check with my patch ;)
Index: gtkspell.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/gtkspell.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- gtkspell.c 2001/10/09 18:01:06 1.10
+++ gtkspell.c 2001/10/09 19:24:16 1.11
@@ -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);
|