From: Kalle Wallin Date: Mon, 29 Mar 2004 18:38:44 +0000 (+0000) Subject: Call g_build_filename() the correct way. X-Git-Tag: v0.12_alpha1~620 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=452dde67513ccaef8bc69321ee5e2e0f12ed29c1;p=ncmpc.git Call g_build_filename() the correct way. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@542 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- diff --git a/conf.c b/conf.c index 3e8179d..5969c85 100644 --- a/conf.c +++ b/conf.c @@ -97,7 +97,7 @@ read_rc_file(char *filename, options_t *options) if( filename==NULL ) { - filename = g_build_filename(g_get_home_dir(), RCFILE); + filename = g_build_filename(g_get_home_dir(), RCFILE, NULL); free_filename = 1; }