Code

Call g_build_filename() the correct way.
authorKalle Wallin <kaw@linux.se>
Mon, 29 Mar 2004 18:38:44 +0000 (18:38 +0000)
committerKalle Wallin <kaw@linux.se>
Mon, 29 Mar 2004 18:38:44 +0000 (18:38 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@542 09075e82-0dd4-0310-85a5-a0d7c8717e4f

conf.c

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