diff plugins/spellchk.c @ 138:e8ea1e2fdf0c

[gaim-migrate @ 148] Bugfixes and memleaks mostly. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 19 Apr 2000 12:36:18 +0000
parents f7a5f376f54e
children 522e885485f0
line wrap: on
line diff
--- a/plugins/spellchk.c	Wed Apr 19 08:49:49 2000 +0000
+++ b/plugins/spellchk.c	Wed Apr 19 12:36:18 2000 +0000
@@ -48,7 +48,7 @@
 			struct replace_words *r;
 			r = (struct replace_words *)(w->data);
 			tmp = have_word(*message, word);
-			if (!strcmp(have_word(*message, word), r->bad)) {
+			if (!strcmp(tmp, r->bad)) {
 				substitute(message, word, strlen(r->bad),
 						r->good);
 				l += num_words(r->good) - num_words(r->bad);