aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefs_ui.c')
-rw-r--r--src/prefs_ui.c4
1 files changed, 4 insertions, 0 deletions
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;