aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index 170da5e5e..3e8179d1f 100644
--- a/conf.c
+++ b/conf.c
@@ -97,7 +97,7 @@ read_rc_file(char *filename, options_t *options)
if( filename==NULL )
{
- filename = concat_path(getenv("HOME"), RCFILE);
+ filename = g_build_filename(g_get_home_dir(), RCFILE);
free_filename = 1;
}