Code

Started to use glib.
authorKalle Wallin <kaw@linux.se>
Mon, 29 Mar 2004 18:13:24 +0000 (18:13 +0000)
committerKalle Wallin <kaw@linux.se>
Mon, 29 Mar 2004 18:13:24 +0000 (18:13 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@538 09075e82-0dd4-0310-85a5-a0d7c8717e4f

conf.c

diff --git a/conf.c b/conf.c
index 170da5e5e19c80fb5871edcaca354ade9fa19fcf..3e8179d1f3052e51f8aa72ec039cd136b28138d3 100644 (file)
--- 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;
     }