# HG changeset patch # User Rob Flynn # Date 1034885022 0 # Node ID 73e06ba2901562544a2e0ea9621980f635d610f0 # Parent dadb43e0bcae7992a86b4658002705897a953c1c [gaim-migrate @ 3865] Win32 fixes committer: Tailor Script diff -r dadb43e0bcae -r 73e06ba29015 plugins/spellchk.c --- a/plugins/spellchk.c Thu Oct 17 17:40:15 2002 +0000 +++ b/plugins/spellchk.c Thu Oct 17 20:03:42 2002 +0000 @@ -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)) {