diff src/collect-dlg.c @ 711:d86748a2650a

Use g_build_filename().
author zas_
date Wed, 21 May 2008 00:12:19 +0000
parents 651ae2be1031
children 2d2cca2bceb0
line wrap: on
line diff
--- a/src/collect-dlg.c	Wed May 21 00:01:03 2008 +0000
+++ b/src/collect-dlg.c	Wed May 21 00:12:19 2008 +0000
@@ -200,7 +200,7 @@
 	generic_dialog_add_message(GENERIC_DIALOG(fd), NULL, title, NULL);
 	file_dialog_add_button(fd, stock_id, btntext, btnfunc, TRUE);
 
-	base = g_strconcat(homedir(), "/", GQ_RC_DIR_COLLECTIONS, NULL);
+	base = g_build_filename(homedir(), GQ_RC_DIR_COLLECTIONS, NULL);
 	file_dialog_add_path_widgets(fd, base, path,
 				     "collection_load_save", ".gqv", _("Collection Files"));
 	g_free(base);