From: Kalle Wallin Date: Mon, 29 Mar 2004 18:13:24 +0000 (+0000) Subject: Started to use glib. X-Git-Tag: v0.12_alpha1~623 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f1364fc6fe9c9c16f708347bd262e8669509276f;p=ncmpc.git Started to use glib. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@538 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- diff --git a/conf.c b/conf.c index 170da5e..3e8179d 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; }