aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-03-29 18:13:24 +0000
committerKalle Wallin <kaw@linux.se>2004-03-29 18:13:24 +0000
commitf1364fc6fe9c9c16f708347bd262e8669509276f (patch)
treeb929b0f059507fd7b1f7efdd329a1647d6c9404c /conf.c
parentd50527814b026149f7c7dfc6b95ea5a54a5cc771 (diff)
downloadmpd-f1364fc6fe9c9c16f708347bd262e8669509276f.tar.gz
mpd-f1364fc6fe9c9c16f708347bd262e8669509276f.tar.xz
mpd-f1364fc6fe9c9c16f708347bd262e8669509276f.zip
Started to use glib.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@538 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-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;
}