From f1364fc6fe9c9c16f708347bd262e8669509276f Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Mon, 29 Mar 2004 18:13:24 +0000 Subject: [PATCH] Started to use glib. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@538 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2