comparison src/gtkspell.c @ 2461:0edec72bc72f

[gaim-migrate @ 2474] be more assertive. this was a bug in gtkspell even before my patch, i think; it's just easier to check with my patch ;) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 09 Oct 2001 19:24:16 +0000
parents e6b9246b33fd
children 9cee43e4903d
comparison
equal deleted inserted replaced
2460:049822b93239 2461:0edec72bc72f
252 static GList* misspelled_suggest(char *word) { 252 static GList* misspelled_suggest(char *word) {
253 char *buf; 253 char *buf;
254 char *newword; 254 char *newword;
255 GList *l = NULL; 255 GList *l = NULL;
256 int count; 256 int count;
257
258 if (!word)
259 return NULL;
257 260
258 buf = g_strdup_printf("^%s\n", word); /* guard against ispell control chars */ 261 buf = g_strdup_printf("^%s\n", word); /* guard against ispell control chars */
259 writetext(buf); 262 writetext(buf);
260 g_free(buf); 263 g_free(buf);
261 buf = readresponse(); 264 buf = readresponse();