Mercurial > pidgin.yaz
diff src/util.c @ 6848:060aa79a733e
[gaim-migrate @ 7393]
Using SHGetFolderPath to determine windows gaim home directory
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Mon, 15 Sep 2003 21:30:37 +0000 |
parents | 338147ea6896 |
children | 4ae5d9c3d9ec |
line wrap: on
line diff
--- a/src/util.c Mon Sep 15 13:29:22 2003 +0000 +++ b/src/util.c Mon Sep 15 21:30:37 2003 +0000 @@ -641,16 +641,14 @@ const gchar *gaim_home_dir() { +#ifndef _WIN32 if(g_get_home_dir()) return g_get_home_dir(); else -#ifndef _WIN32 return NULL; #else - /* Win9x and WinME don't have a home dir */ - return "C:"; + return wgaim_data_dir(); #endif - } /* returns a string of the form ~/.gaim, where ~ is replaced by the user's home