diff plugins/spellchk.c @ 8596:56360561af5e

[gaim-migrate @ 9347] " This patch creates a new command line argument ('-c' or '--config') that allows the location of tha gaim prefs files to be located somewhere other than in ~/.gaim The patch also removes the -f argument as it is no longer relevant since .gaimrc is all but gone. The one "weirdness" is that for the session managment support, the --config argument will allways appear to be specified and will contain either the custom value (if specified) or the canonical version of ~/.gaim (if no custom -c is specified). If this should be done differently, let me know." --Daniel Atallah committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 06 Apr 2004 14:29:51 +0000
parents 8720427121f5
children 142108e89399
line wrap: on
line diff
--- a/plugins/spellchk.c	Tue Apr 06 05:41:12 2004 +0000
+++ b/plugins/spellchk.c	Tue Apr 06 14:29:51 2004 +0000
@@ -305,7 +305,7 @@
 	char tempfilename[BUF_LONG];
 	int fd;
 
-	name = g_build_filename(gaim_home_dir(), ".gaim", "dict", NULL);
+	name = g_build_filename(gaim_user_dir(), "dict", NULL);
 	strcpy(tempfilename, name);
 	strcat(tempfilename,".XXXXXX");
 	fd = g_mkstemp(tempfilename);