From 69501c1a570997de5597a7d297cc8167b986812c Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 6 Oct 2005 08:09:26 +0000 Subject: win32: environmental variable fix. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@624 ee746299-78ed-0310-b773-934348b2243d --- src/prefs_ui.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/prefs_ui.c') diff --git a/src/prefs_ui.c b/src/prefs_ui.c index 6ddc9ade..2cd45249 100644 --- a/src/prefs_ui.c +++ b/src/prefs_ui.c @@ -175,7 +175,11 @@ void prefs_set_dialog_to_default(PrefParam *param) break; } else if (tmpparam.defval[0] == '~') { str_data = +#ifdef G_OS_WIN32 + g_strconcat(get_rc_dir(), +#else g_strconcat(get_home_dir(), +#endif param[i].defval + 1, NULL); tmpparam.data = &str_data; -- cgit v1.2.3