diff src/aim.c @ 2460:049822b93239

[gaim-migrate @ 2473] don't turn on ispell unless you want it. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 09 Oct 2001 19:18:41 +0000
parents 61b816a7b467
children 7e4757801725
line wrap: on
line diff
--- a/src/aim.c	Tue Oct 09 19:15:13 2001 +0000
+++ b/src/aim.c	Tue Oct 09 19:18:41 2001 +0000
@@ -636,7 +636,8 @@
 	if (misc_options & OPT_MISC_DEBUG)
 		show_debug();
 
-	gtkspell_start(NULL, ispell_cmd);
+	if (convo_options & OPT_CONVO_CHECK_SPELLING)
+		gtkspell_start(NULL, ispell_cmd);
 #ifdef USE_PERL
 	perl_autoload();
 #endif
@@ -681,7 +682,8 @@
 
 #endif /* USE_APPLET */
 
-	gtkspell_stop();
+	if (convo_options & OPT_CONVO_CHECK_SPELLING)
+		gtkspell_stop();
 	core_quit();
 
 	return 0;