From: Rob F. <rob...@us...> - 2002-10-17 20:03:45
|
Update of /cvsroot/gaim/gaim/plugins In directory usw-pr-cvs1:/tmp/cvs-serv24586 Modified Files: spellchk.c Log Message: Win32 fixes Index: spellchk.c =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/spellchk.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- spellchk.c 11 Oct 2002 03:13:57 -0000 1.25 +++ spellchk.c 17 Oct 2002 20:03:42 -0000 1.26 @@ -96,7 +96,7 @@ words = NULL; buf = malloc(1000); - snprintf(buf, 1000, "%s/.gaim/dict", getenv("HOME")); + snprintf(buf, 1000, "%s/.gaim/dict", gaim_home_dir()); fh = open(buf, O_RDONLY, 0600); if (fh == -1) { fh = open(buf, O_TRUNC | O_WRONLY | O_CREAT, 0600); @@ -290,7 +290,7 @@ char buf[512]; char *a, *b; - snprintf(buf, sizeof buf, "%s/.gaim/dict", getenv("HOME")); + snprintf(buf, sizeof buf, "%s/.gaim/dict", gaim_home_dir()); fh = open(buf, O_TRUNC | O_WRONLY | O_CREAT, 0600); if (fh != 1) { while (gtk_clist_get_text(GTK_CLIST(list), i, 0, &a)) { |